This commit is contained in:
xiezhijun
2021-08-20 15:58:09 +08:00
18 changed files with 1184 additions and 313 deletions

View File

@ -472,11 +472,15 @@ public class WechatAppletController extends BaseController {
curWxUserInfo.setSex(customerPhysicalSigns.getSex().toString());
curWxUserInfo.setHeight(customerPhysicalSigns.getTall());
curWxUserInfo.setAge(customerPhysicalSigns.getAge());
curWxUserInfo.setStartDate(customerPhysicalSigns.getCreateTime());
curWxUserInfo.setWeight(customerPhysicalSigns.getWeight());
}
} else {
curWxUserInfo.setSex(customerHealthy.getSex().toString());
curWxUserInfo.setHeight(customerHealthy.getTall());
curWxUserInfo.setAge(Math.toIntExact(customerHealthy.getAge()));
curWxUserInfo.setStartDate(customerHealthy.getCreateTime());
curWxUserInfo.setWeight(customerHealthy.getWeight());
}
curWxUserInfo.setCustomerId(AesUtils.encrypt(curWxUserInfo.getCusId().toString()));