Commit d0a8d282bb318bd18d71f3e9adf80a4433f9721a

Authored by sumatek
1 parent f9f2c679
Exists in master and in 1 other branch dev

fix bug customer

ais-structure/src/modules/customer/postCustomer.ctrl.js
... ... @@ -12,7 +12,7 @@ exports.postCustomer = async function (req, res, next){
12 12 var d01 = "D01";
13 13 var method = constant.METHOD.POST;
14 14  
15   - if(req.params.userData && req.params.userType){
  15 + if(req.body.user.userData && req.body.user.userType){
16 16 var customerId = req.body.user.userData+"@"+req.body.user.userType;
17 17 }
18 18  
... ...