|
@@ -196,17 +196,17 @@ const getStauts = (uid) => { |
|
@@ -196,17 +196,17 @@ const getStauts = (uid) => { |
196
|
method: 'user.instalment.getStatus',
|
196
|
method: 'user.instalment.getStatus',
|
197
|
uid: uid
|
197
|
uid: uid
|
198
|
}).then((result) => {
|
198
|
}).then((result) => {
|
199
|
- result = {
|
|
|
200
|
- alg: 'SALT_MD5',
|
|
|
201
|
- code: 200,
|
|
|
202
|
- data: {
|
|
|
203
|
- status: '2',
|
|
|
204
|
- isShow: '1',
|
|
|
205
|
- currCreditLimit: '3125.20'
|
|
|
206
|
- },
|
|
|
207
|
- md5: '6d729d4b35f10fc73531210bd7ecff91',
|
|
|
208
|
- message: 'success'
|
|
|
209
|
- };
|
199
|
+ // result = {
|
|
|
200
|
+ // alg: 'SALT_MD5',
|
|
|
201
|
+ // code: 200,
|
|
|
202
|
+ // data: {
|
|
|
203
|
+ // status: '2',
|
|
|
204
|
+ // isShow: '1',
|
|
|
205
|
+ // currCreditLimit: '3125.20'
|
|
|
206
|
+ // },
|
|
|
207
|
+ // md5: '6d729d4b35f10fc73531210bd7ecff91',
|
|
|
208
|
+ // message: 'success'
|
|
|
209
|
+ // };
|
210
|
if (result && result.code === 200) {
|
210
|
if (result && result.code === 200) {
|
211
|
return result.data.status;
|
211
|
return result.data.status;
|
212
|
} else {
|
212
|
} else {
|
|
@@ -281,47 +281,47 @@ const getQueryAmtList = (params) => { |
|
@@ -281,47 +281,47 @@ const getQueryAmtList = (params) => { |
281
|
}, params), {
|
281
|
}, params), {
|
282
|
cache: true
|
282
|
cache: true
|
283
|
}).then((result) => {
|
283
|
}).then((result) => {
|
284
|
- result = {
|
|
|
285
|
- alg: 'SALT_MD5',
|
|
|
286
|
- code: 200,
|
|
|
287
|
- data: {
|
|
|
288
|
- amtList: [
|
|
|
289
|
- {
|
|
|
290
|
- billNo: 'x00001',
|
|
|
291
|
- terms: 3,
|
|
|
292
|
- currTerm: 1,
|
|
|
293
|
- unExpireDays: -3,
|
|
|
294
|
- billInfo: '三叶草运动休闲鞋',
|
|
|
295
|
- currAmt: '845.00',
|
|
|
296
|
- currNoFeeAmt: '840.00',
|
|
|
297
|
- currFee: '0.00'
|
|
|
298
|
- }, {
|
|
|
299
|
- billNo: 'x00002',
|
|
|
300
|
- terms: 3,
|
|
|
301
|
- currTerm: 2,
|
|
|
302
|
- unExpireDays: 10,
|
|
|
303
|
- billInfo: '三叶草运动休闲鞋',
|
|
|
304
|
- currAmt: '840.00',
|
|
|
305
|
- currNoFeeAmt: '840.00',
|
|
|
306
|
- currFee: '5.00'
|
|
|
307
|
- }, {
|
|
|
308
|
- billNo: 'x00003',
|
|
|
309
|
- terms: 3,
|
|
|
310
|
- currTerm: 1,
|
|
|
311
|
- unExpireDays: -3,
|
|
|
312
|
- billInfo: '三叶草运动休闲鞋',
|
|
|
313
|
- currAmt: '845.00',
|
|
|
314
|
- currNoFeeAmt: '840.00',
|
|
|
315
|
- currFee: '0.00'
|
|
|
316
|
- }
|
|
|
317
|
- ],
|
|
|
318
|
- pageNo: 1,
|
|
|
319
|
- pageTotal: 1,
|
|
|
320
|
- total: 2
|
|
|
321
|
- },
|
|
|
322
|
- md5: 'c1d725306fb09dcbf504776d276521cb',
|
|
|
323
|
- message: 'ok'
|
|
|
324
|
- };
|
284
|
+ // result = {
|
|
|
285
|
+ // alg: 'SALT_MD5',
|
|
|
286
|
+ // code: 200,
|
|
|
287
|
+ // data: {
|
|
|
288
|
+ // amtList: [
|
|
|
289
|
+ // {
|
|
|
290
|
+ // billNo: 'x00001',
|
|
|
291
|
+ // terms: 3,
|
|
|
292
|
+ // currTerm: 1,
|
|
|
293
|
+ // unExpireDays: -3,
|
|
|
294
|
+ // billInfo: '三叶草运动休闲鞋',
|
|
|
295
|
+ // currAmt: '845.00',
|
|
|
296
|
+ // currNoFeeAmt: '840.00',
|
|
|
297
|
+ // currFee: '0.00'
|
|
|
298
|
+ // }, {
|
|
|
299
|
+ // billNo: 'x00002',
|
|
|
300
|
+ // terms: 3,
|
|
|
301
|
+ // currTerm: 2,
|
|
|
302
|
+ // unExpireDays: 10,
|
|
|
303
|
+ // billInfo: '三叶草运动休闲鞋',
|
|
|
304
|
+ // currAmt: '840.00',
|
|
|
305
|
+ // currNoFeeAmt: '840.00',
|
|
|
306
|
+ // currFee: '5.00'
|
|
|
307
|
+ // }, {
|
|
|
308
|
+ // billNo: 'x00003',
|
|
|
309
|
+ // terms: 3,
|
|
|
310
|
+ // currTerm: 1,
|
|
|
311
|
+ // unExpireDays: -3,
|
|
|
312
|
+ // billInfo: '三叶草运动休闲鞋',
|
|
|
313
|
+ // currAmt: '845.00',
|
|
|
314
|
+ // currNoFeeAmt: '840.00',
|
|
|
315
|
+ // currFee: '0.00'
|
|
|
316
|
+ // }
|
|
|
317
|
+ // ],
|
|
|
318
|
+ // pageNo: 1,
|
|
|
319
|
+ // pageTotal: 1,
|
|
|
320
|
+ // total: 2
|
|
|
321
|
+ // },
|
|
|
322
|
+ // md5: 'c1d725306fb09dcbf504776d276521cb',
|
|
|
323
|
+ // message: 'ok'
|
|
|
324
|
+ // };
|
325
|
if (result && result.code === 200) {
|
325
|
if (result && result.code === 200) {
|
326
|
return _processAmtList(result.data.amtList, params.queryDays);
|
326
|
return _processAmtList(result.data.amtList, params.queryDays);
|
327
|
} else {
|
327
|
} else {
|