首页 > 代码库 > 前后端交互中出现的问题(三)

前后端交互中出现的问题(三)

检查后台传输的数据和方法
  1》右键查看源代码
  2》找到<script src="http://www.mamicode.com/api/AbpServiceProxies/GetAll?type=angular&v=636191473125693932"></script>单击
  3》寻找服务接口名,查看对应的增删改查方法

    <script src="http://www.mamicode.com/api/AbpServiceProxies/GetAll?type=angular&v=636276841036740459"></script>
    <script src="http://www.mamicode.com/api/AbpServiceProxies/GetAll?v=636276841036750459"></script>
    <script src="http://www.mamicode.com/AbpScripts/GetScripts?v=636276841036750459" type="text/javascript"></script>

 点击后查看

  this.getTktIssuePlatformsForCombobox = function (httpParams) {
                    return $http(angular.extend({
                        url: abp.appPath + ‘api/services/app/baseDataLookup/GetTktIssuePlatformsForCombobox‘,
                        method: ‘POST‘,
                        data: JSON.stringify({})
                    }, httpParams));
                };
                
                this.getBankAccountForCombobox = function (httpParams) {
                    return $http(angular.extend({
                        url: abp.appPath + ‘api/services/app/baseDataLookup/GetBankAccountForCombobox‘,
                        method: ‘POST‘,
                        data: JSON.stringify({})
                    }, httpParams));
                };
                
                this.getTransActionTypeForCombobox = function (input, httpParams) {
                    return $http(angular.extend({
                        url: abp.appPath + ‘api/services/app/baseDataLookup/GetTransActionTypeForCombobox‘,
                        method: ‘POST‘,
                        data: JSON.stringify(input)
                    }, httpParams));
                };
                
                this.getTransActionTypeFlagForCombobox = function (httpParams) {
                    return $http(angular.extend({
                        url: abp.appPath + ‘api/services/app/baseDataLookup/GetTransActionTypeFlagForCombobox‘,
                        method: ‘POST‘,
                        data: JSON.stringify({})
                    }, httpParams));
                };

 

前后端交互中出现的问题(三)