|
|
@ -49,6 +49,9 @@ define(['angular', 'uiRouter', 'static/commons/angular-ueditor'], function (angu
|
|
|
|
$scope.pagination = {};
|
|
|
|
$scope.pagination = {};
|
|
|
|
$scope.topUp = function () {
|
|
|
|
$scope.topUp = function () {
|
|
|
|
var params = angular.copy($scope.params);
|
|
|
|
var params = angular.copy($scope.params);
|
|
|
|
|
|
|
|
if(params.type==null || params.type==''||params.amount==null||params.amount==''||params.customerNumber==''||params.customerNumber==null ){
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
$http.get('/top_up/recharge',{params: params}).then(function (resp) {
|
|
|
|
$http.get('/top_up/recharge',{params: params}).then(function (resp) {
|
|
|
|
alert('ok');
|
|
|
|
alert('ok');
|
|
|
|
}, function (resp) {
|
|
|
|
}, function (resp) {
|
|
|
|