Commit a93b860c by weijiguang

.

parent db0c7a91
......@@ -66,6 +66,7 @@ public class WeixinController {
ajax.put(Constants.TOKEN, decrypt.get("token"));
ajax.put("phoneNumber", decrypt.get("phoneNumber"));
ajax.put("customerName", decrypt.get("customerName"));
ajax.put("openId", decrypt.get("openId"));
return ajax;
}
......
......@@ -807,6 +807,9 @@ public class WeixinServiceImpl {
map.put("token", token);
map.put("phoneNumber", encDataInf.getString("phoneNumber"));
map.put("customerName", customer.getUserName());
if (customer.getTestFlag() != null && customer.getTestFlag()) {
map.put("openId", customer.getId());
}
log.info("token:{}, phoneNumber:{}, customerName:{}", token, encDataInf.getString("phoneNumber"), customer.getUserName());
return map;
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment