前后端交互中出现的问题
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了前后端交互中出现的问题相关的知识,希望对你有一定的参考价值。
检查后台传输的数据和方法
1》右键查看源代码
2》找到<script src="/api/AbpServiceProxies/GetAll?type=angular&v=636191473125693932"></script>单击
3》寻找服务接口名,查看对应的增删改查方法
<script src="/api/AbpServiceProxies/GetAll?type=angular&v=636276841036740459"></script> <script src="/api/AbpServiceProxies/GetAll?v=636276841036750459"></script> <script src="/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)); };
以上是关于前后端交互中出现的问题的主要内容,如果未能解决你的问题,请参考以下文章