添加是否允许用户自定义充值金额字段

This commit is contained in:
牛叉闪闪
2024-08-19 17:36:55 +08:00
parent 31a5c94adf
commit 5cdc276b0c
6 changed files with 26 additions and 3 deletions

View File

@@ -125,8 +125,7 @@ public class LoginContoller {
// try{
// String data = WxMaCryptUtils.decrypt(sessionKey, encryptedData, ivStr);
// if (ObjectUtil.isNotEmpty(data) && JSONObject.parseObject(data).containsKey("phoneNumber")) {
// phone =JSONObject.parseObject(data).get("phoneNumber").toString();
// }
// }// phone =JSONObject.parseObject(data).get("phoneNumber").toString();
// }catch (Exception e){
// log.info("登录传参:获取手机号失败{}",e.getMessage());
// }

View File

@@ -102,6 +102,7 @@ public class UserContoller {
shopUser.setAmount(BigDecimal.ZERO);
}
if (tbShopInfo != null) {
shopUser.setIsUser(tbShopInfo.getIsCustom());
shopUser.setShopName(tbShopInfo.getShopName());
}else {
shopUser.setShopName("");