1.对接费率接口

huipay-master
杨杰 3 years ago
parent 87e5571b8f
commit 618f2a5288
  1. 5
      Utils/Api.js
  2. 16
      pages/index/merchant-incoming-parts/merchant-incoming-parts.vue

@ -61,6 +61,11 @@ export const getMerListBySalesman = params => {
export const getLklMcc = params => { export const getLklMcc = params => {
return POST('GET', `${base}/common/getLklMcc`, params).then(res => res.data); return POST('GET', `${base}/common/getLklMcc`, params).then(res => res.data);
} }
//业务员查询费率类型
export const getDictionaryByCodeType = params => {
return POST('GET', `${base}/common/getDictionaryByCodeType`, params).then(res => res.data);
}
//查询商户门店 //查询商户门店
export const getStoreListByMer = params => { export const getStoreListByMer = params => {
return POST('GET', `${base}/store/getStoreListByMer`, params).then(res => res.data); return POST('GET', `${base}/store/getStoreListByMer`, params).then(res => res.data);

@ -664,7 +664,8 @@
getMerDetail, getMerDetail,
configMerBasis, configMerBasis,
configMerSettlement, configMerSettlement,
configMerStore configMerStore,
getDictionaryByCodeType
} from '../../../Utils/Api.js'; } from '../../../Utils/Api.js';
let app = getApp(); let app = getApp();
export default { export default {
@ -760,6 +761,7 @@
onLoad(options) { onLoad(options) {
this.merId = options.id this.merId = options.id
this.getMerDetail(1); this.getMerDetail(1);
this.getDictionaryByCodeType();
}, },
onShow() { onShow() {
if (app.globalData.businessid) { if (app.globalData.businessid) {
@ -1792,9 +1794,17 @@
} }
} }
}); });
}, },
//
getDictionaryByCodeType() {
let params = {
codeType: 'MER_PLATFORM_NO_RATE'
}
getDictionaryByCodeType(params).then(res=>{
if(res.return_code == '000000'){
}
})
}
} }
} }
</script> </script>

Loading…
Cancel
Save