...
|
...
|
@@ -166,8 +166,10 @@ exports.queryGlobalOrder = (req, res) => { |
|
|
*/
|
|
|
exports.queryReasons = (req, res) => {
|
|
|
const type = req.body.type;
|
|
|
const uid = req.user.uid || req.query.uid;
|
|
|
const encryptedUid = crypto.encryption(null, uid + '');
|
|
|
|
|
|
imApi.queryReasons(type)
|
|
|
imApi.queryReasons(uid, encryptedUid, type)
|
|
|
.then(result=> {
|
|
|
res.json(result);
|
|
|
})
|
...
|
...
|
|