mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-24 05:46:04 +08:00
优化缴费 功能
This commit is contained in:
parent
d43d26c230
commit
717386d53e
@ -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,
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user