From d1425aa67c0c6c0e087ce32b1779ee02bbcdc4c6 Mon Sep 17 00:00:00 2001 From: zhaoxiaoqiang <287285524@qq.com> Date: Tue, 27 Jul 2021 14:53:20 +0800 Subject: [PATCH] 接入宁夏移动 --- src/api/index.js | 37 +++++++++++++++++++++++++++++++++---- 1 files changed, 33 insertions(+), 4 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index 2fbebf4..6355ab5 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -73,12 +73,18 @@ - // 获取地区列表 + // 获取地区列表/sib/public/cmccAreaList + // getArea() {获取所有省市区列表 + // let data = { + // apploading:1 + // }; + // return $http.post('/public/areaList',data); + // }, getArea() { let data = { apploading:1 }; - return $http.post('/public/areaList',data); + return $http.post('/public/cmccAreaList',data); }, // 获取机构拥有的地区列表 @@ -338,8 +344,31 @@ userAddStoreManager(data){ return $http.post('/user/addStoreManager',data) },//资料补充 - - + // ===========宁夏移动接入调整借口=============== + // 查询业务归属省份 + findProvNo(data){ + return $http.post('/cmccWxpay/findProvNo',data) + }, + //创建订单并且返回二维码/cmccWxpay/nx/create + nxCreate(data){ + return $http.post('/cmccWxpay/nx/create',data) + }, + // 生成二维码初始化/sib/cmccWxpay/nx/init + nxInit(data){ + return $http.post('/cmccWxpay/nx/init',data) + }, + // // 授权结果推送/cmccWxpay/nx/pushOrderStatus + // pushOrderStatus(data){ + // return $http.post('/cmccWxpay/nx/pushOrderStatus',data) + // }, + // // 返销/cmccWxpay/nx/refund + // nxRefund(data){ + // return $http.post('/cmccWxpay/nx/refund',data) + // }, + // 检验手机号是否可用/cmccWxpay/nx/verifyMblNo + nxVerifyMblNo(data){ + return $http.post('/cmccWxpay/nx/verifyMblNo',data) + }, } export default { -- Gitblit v1.8.0