...
|
...
|
@@ -125,23 +125,23 @@ const setExpressNumber = (req, res, next) => { |
|
|
|
|
|
let uid = req.user.uid;
|
|
|
let id = req.body.id;
|
|
|
let isChange = req.body.isChange === 'false'? false: true;
|
|
|
let isChange = req.body.isChange === 'false' ? false : true;
|
|
|
let expressId = req.body.expressId;
|
|
|
let expressNumber = req.body.expressNumber;
|
|
|
let expressCompany = req.body.expressCompany;
|
|
|
|
|
|
|
|
|
console.log('uid'+uid);
|
|
|
console.log('id'+id);
|
|
|
console.log('isChange'+isChange);
|
|
|
console.log('expressId'+expressId);
|
|
|
console.log('expressNumber'+expressNumber);
|
|
|
console.log('expressCompany'+expressCompany);
|
|
|
console.log('uid' + uid);
|
|
|
console.log('id' + id);
|
|
|
console.log('isChange' + isChange);
|
|
|
console.log('expressId' + expressId);
|
|
|
console.log('expressNumber' + expressNumber);
|
|
|
console.log('expressCompany' + expressCompany);
|
|
|
|
|
|
returnsModel.setExpressNumber(id, expressId, expressNumber, uid, expressCompany, isChange).then(result => {
|
|
|
|
|
|
if(res.code && res.code == 201){
|
|
|
res.json({message:'请求失败'});
|
|
|
if (res.code && res.code == 201) {
|
|
|
res.json({message: '请求失败'});
|
|
|
}
|
|
|
|
|
|
if (id || expressId || expressNumber || uid || expressCompany || isChange) {
|
...
|
...
|
|