优化缴费 功能

This commit is contained in:
wuxw 2022-11-11 13:58:52 +08:00
parent d43d26c230
commit 717386d53e
2 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,7 @@ export function payOweFee(_that) {
}); });
let _tradeType = 'JSAPI'; let _tradeType = 'JSAPI';
let _objData = { let _objData = {
business: "oweFee",
cycles: _that.feeMonth, cycles: _that.feeMonth,
communityId: _that.communityId, communityId: _that.communityId,
ownerId: _that.ownerId, ownerId: _that.ownerId,
@ -21,7 +22,7 @@ export function payOweFee(_that) {
storeId: _that.storeId storeId: _that.storeId
}; };
context.request({ context.request({
url: url.toOweFeePay, url: url.unifiedPayment,
header: context.getHeaders(), header: context.getHeaders(),
method: "POST", method: "POST",
data: _objData, data: _objData,

View File

@ -11,6 +11,7 @@ export function payOweFee(_that) {
let accountInfo = uni.getAccountInfoSync(); let accountInfo = uni.getAccountInfoSync();
let appId = accountInfo.miniProgram.appId; let appId = accountInfo.miniProgram.appId;
let _objData = { let _objData = {
business: "oweFee",
cycles: _that.feeMonth, cycles: _that.feeMonth,
communityId: _that.communityId, communityId: _that.communityId,
ownerId: _that.ownerId, ownerId: _that.ownerId,
@ -21,7 +22,7 @@ export function payOweFee(_that) {
storeId: _that.storeId storeId: _that.storeId
}; };
context.request({ context.request({
url: url.toOweFeePay, url: url.unifiedPayment,
header: context.getHeaders(), header: context.getHeaders(),
method: "POST", method: "POST",
data: _objData, data: _objData,