mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
21173355a2
commit
44b6d6edf3
@ -430,7 +430,7 @@ export function getTempCarFeeOrder(_objData) {
|
|||||||
export function toPayTempCarFee(_objData) {
|
export function toPayTempCarFee(_objData) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
requestNoAuth({
|
requestNoAuth({
|
||||||
url: url.toPayTempCarFee,
|
url: url.unifiedPayment,
|
||||||
method: "POST",
|
method: "POST",
|
||||||
data: JSON.stringify(_objData), //动态数据
|
data: JSON.stringify(_objData), //动态数据
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
|
|||||||
@ -79,7 +79,7 @@
|
|||||||
let _objData = {
|
let _objData = {
|
||||||
page: 1,
|
page: 1,
|
||||||
row: 30,
|
row: 30,
|
||||||
tel: context.getUserInfo().link,
|
tel: context.getUserInfo().ownerTel,
|
||||||
state: '1001',
|
state: '1001',
|
||||||
communityId:getCommunityId(),
|
communityId:getCommunityId(),
|
||||||
toType:'5005'
|
toType:'5005'
|
||||||
|
|||||||
@ -126,7 +126,7 @@
|
|||||||
let _objData = {
|
let _objData = {
|
||||||
page: 1,
|
page: 1,
|
||||||
row: 30,
|
row: 30,
|
||||||
tel: context.getUserInfo().link,
|
tel: context.getUserInfo().ownerTel,
|
||||||
communityId:getCommunityId(),
|
communityId:getCommunityId(),
|
||||||
state: '1001',
|
state: '1001',
|
||||||
isStart:'Y'
|
isStart:'Y'
|
||||||
@ -164,7 +164,7 @@
|
|||||||
let _objData = {
|
let _objData = {
|
||||||
page: 1,
|
page: 1,
|
||||||
row: 30,
|
row: 30,
|
||||||
tel: context.getUserInfo().link,
|
tel: context.getUserInfo().ownerTel,
|
||||||
state: '2002'
|
state: '2002'
|
||||||
}
|
}
|
||||||
let _couponUsers = [];
|
let _couponUsers = [];
|
||||||
|
|||||||
@ -102,7 +102,7 @@
|
|||||||
let _objData = {
|
let _objData = {
|
||||||
page: 1,
|
page: 1,
|
||||||
row: 30,
|
row: 30,
|
||||||
tel: context.getUserInfo().link,
|
tel: context.getUserInfo().ownerTel,
|
||||||
communityId:getCommunityId(),
|
communityId:getCommunityId(),
|
||||||
state: '1001',
|
state: '1001',
|
||||||
toType:'2002'
|
toType:'2002'
|
||||||
|
|||||||
@ -183,6 +183,7 @@
|
|||||||
});
|
});
|
||||||
let _tradeType = 'JSAPI';
|
let _tradeType = 'JSAPI';
|
||||||
let _objData = {
|
let _objData = {
|
||||||
|
business: "tempCarFee",
|
||||||
carNum: this.carNum,
|
carNum: this.carNum,
|
||||||
openId: this.openId,
|
openId: this.openId,
|
||||||
paId: this.paId,
|
paId: this.paId,
|
||||||
@ -191,7 +192,7 @@
|
|||||||
appId: this.appId,
|
appId: this.appId,
|
||||||
inoutId: this.inoutId,
|
inoutId: this.inoutId,
|
||||||
couponList: this.couponList,
|
couponList: this.couponList,
|
||||||
machineId:this.machineId
|
machineId:this.machineId,
|
||||||
};
|
};
|
||||||
toAliPayTempCarFee(_objData)
|
toAliPayTempCarFee(_objData)
|
||||||
.then(_data=>{
|
.then(_data=>{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user