...
|
...
|
@@ -196,17 +196,17 @@ const getStauts = (uid) => { |
|
|
method: 'user.instalment.getStatus',
|
|
|
uid: uid
|
|
|
}).then((result) => {
|
|
|
result = {
|
|
|
alg: 'SALT_MD5',
|
|
|
code: 200,
|
|
|
data: {
|
|
|
status: '2',
|
|
|
isShow: '1',
|
|
|
currCreditLimit: '3125.20'
|
|
|
},
|
|
|
md5: '6d729d4b35f10fc73531210bd7ecff91',
|
|
|
message: 'success'
|
|
|
};
|
|
|
// result = {
|
|
|
// alg: 'SALT_MD5',
|
|
|
// code: 200,
|
|
|
// data: {
|
|
|
// status: '2',
|
|
|
// isShow: '1',
|
|
|
// currCreditLimit: '3125.20'
|
|
|
// },
|
|
|
// md5: '6d729d4b35f10fc73531210bd7ecff91',
|
|
|
// message: 'success'
|
|
|
// };
|
|
|
if (result && result.code === 200) {
|
|
|
return result.data.status;
|
|
|
} else {
|
...
|
...
|
@@ -281,47 +281,47 @@ const getQueryAmtList = (params) => { |
|
|
}, params), {
|
|
|
cache: true
|
|
|
}).then((result) => {
|
|
|
result = {
|
|
|
alg: 'SALT_MD5',
|
|
|
code: 200,
|
|
|
data: {
|
|
|
amtList: [
|
|
|
{
|
|
|
billNo: 'x00001',
|
|
|
terms: 3,
|
|
|
currTerm: 1,
|
|
|
unExpireDays: -3,
|
|
|
billInfo: '三叶草运动休闲鞋',
|
|
|
currAmt: '845.00',
|
|
|
currNoFeeAmt: '840.00',
|
|
|
currFee: '0.00'
|
|
|
}, {
|
|
|
billNo: 'x00002',
|
|
|
terms: 3,
|
|
|
currTerm: 2,
|
|
|
unExpireDays: 10,
|
|
|
billInfo: '三叶草运动休闲鞋',
|
|
|
currAmt: '840.00',
|
|
|
currNoFeeAmt: '840.00',
|
|
|
currFee: '5.00'
|
|
|
}, {
|
|
|
billNo: 'x00003',
|
|
|
terms: 3,
|
|
|
currTerm: 1,
|
|
|
unExpireDays: -3,
|
|
|
billInfo: '三叶草运动休闲鞋',
|
|
|
currAmt: '845.00',
|
|
|
currNoFeeAmt: '840.00',
|
|
|
currFee: '0.00'
|
|
|
}
|
|
|
],
|
|
|
pageNo: 1,
|
|
|
pageTotal: 1,
|
|
|
total: 2
|
|
|
},
|
|
|
md5: 'c1d725306fb09dcbf504776d276521cb',
|
|
|
message: 'ok'
|
|
|
};
|
|
|
// result = {
|
|
|
// alg: 'SALT_MD5',
|
|
|
// code: 200,
|
|
|
// data: {
|
|
|
// amtList: [
|
|
|
// {
|
|
|
// billNo: 'x00001',
|
|
|
// terms: 3,
|
|
|
// currTerm: 1,
|
|
|
// unExpireDays: -3,
|
|
|
// billInfo: '三叶草运动休闲鞋',
|
|
|
// currAmt: '845.00',
|
|
|
// currNoFeeAmt: '840.00',
|
|
|
// currFee: '0.00'
|
|
|
// }, {
|
|
|
// billNo: 'x00002',
|
|
|
// terms: 3,
|
|
|
// currTerm: 2,
|
|
|
// unExpireDays: 10,
|
|
|
// billInfo: '三叶草运动休闲鞋',
|
|
|
// currAmt: '840.00',
|
|
|
// currNoFeeAmt: '840.00',
|
|
|
// currFee: '5.00'
|
|
|
// }, {
|
|
|
// billNo: 'x00003',
|
|
|
// terms: 3,
|
|
|
// currTerm: 1,
|
|
|
// unExpireDays: -3,
|
|
|
// billInfo: '三叶草运动休闲鞋',
|
|
|
// currAmt: '845.00',
|
|
|
// currNoFeeAmt: '840.00',
|
|
|
// currFee: '0.00'
|
|
|
// }
|
|
|
// ],
|
|
|
// pageNo: 1,
|
|
|
// pageTotal: 1,
|
|
|
// total: 2
|
|
|
// },
|
|
|
// md5: 'c1d725306fb09dcbf504776d276521cb',
|
|
|
// message: 'ok'
|
|
|
// };
|
|
|
if (result && result.code === 200) {
|
|
|
return _processAmtList(result.data.amtList, params.queryDays);
|
|
|
} else {
|
...
|
...
|
|