PageSourceSearch

https://papabu.co.kr/corp/app/controllers/chargeModalCtrl.js

js papabu.co.kr collected 2026-10-02 02:00:33 UTC 1,387 bytes, 39 lines download raw bytes

1/**
2 * Created by jack on 15. 6. 23..
3 */
4angular.module('chargeModalCtrl',[]).controller('chargeModalController',function($scope,$location,$window,$cookies,$rootScope,$routeSegment,$http,$modalInstance,appConfig){
5    var app = this;
6    var url = appConfig.url;
7    //var url = "http://papabu.co.kr/corp";
8    //var url = "http://10.10.10.4:3000";
9
10    $scope.bankOptions = [
11        {value:"SC은행",name:"SC은행"},
12        {value:"신한은행",name:"신한은행"},
13        {value:"우리은행",name:"우리은행"},
14        {value:"국민은행",name:"국민은행"},
15        {value:"외환은행",name:"외환은행"},
16        {value:"농협은행",name:"농협은행"},
17        {value:"기업은행",name:"기업은행"}
18    ];
19
20    $scope.bank = $scope.bankOptions[0];
21
22    app.chargeConfirm = function(){
23        $modalInstance.close(app.chargeCash());
24    };
25
26    app.chargeCancel = function () {
27        $modalInstance.dismiss('cancel');
28    };
29
30    app.chargeCash = function(){
31        var currentUser = $cookies.get('currentUser');
32        var incomeInfo = $scope.bank.value+'|'+$scope.accountNumber;
33        $http.post(url + '/chargeCash',{domain:currentUser.split('|')[1],amount:$scope.amount,incomeInfo:incomeInfo}).success(function(resultObj){
34            if(resultObj.result == 'success'){
35                //console.log('aaa');
36            }
37        });
38    };
39});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.