| | |
| | | templateCode = "c230a6b92504473c97c17741e1cc0b9d";//修改密码 |
| | | break; |
| | | } |
| | | aLiSendSms.sendSms(phone, "SMS_147415322", "{\"code\":\"" + authCode + "\"}"); |
| | | aLiSendSms.sendSms(phone, "SMS_467580138", "{\"code\":\"" + authCode + "\"}"); |
| | | // HuaWeiSMSUtil.sendSms("[\"" + authCode + "\"]", phone, "8822061324669", templateCode); |
| | | // String sData = aLiSendSms.sendSms(phone, templateCode, "{\"code\":\"" + authCode + "\"}"); |
| | | //// JSONObject jsonObject = JSON.parseObject(sData); |
| | |
| | | userInfo.setConsumption(0D); |
| | | userInfo.setBalance(0D); |
| | | userInfo.setState(1); |
| | | userInfo.setAvatar("http://bao-weiqing.oss-cn-hangzhou.aliyuncs.com/img/a9fb2816e36644b292515ffdd6ebb411.jpg"); |
| | | |
| | | //用户所属企业 |
| | | if(null != registAreaCode){ |
| | |
| | | @Autowired |
| | | private ISysCouponRecordService sysCouponRecordService; |
| | | public void addnewCoupoun(String phone,UserInfo userInfo){ |
| | | if (redisUtil.getValue("counpon:" + phone)==null){ |
| | | return; |
| | | } |
| | | Integer acId = Integer.valueOf(redisUtil.getValue("counpon:" + phone)); |
| | | |
| | | TActivityGeneralization tActivityGeneralization = activityGeneralizationService.selectById(acId); |
| | | SysCouponRecord sysCouponRecord = sysCouponRecordService.selectById(tActivityGeneralization.getCouponId()); |
| | | Date date = new Date(); |
| | |
| | | userInfo.setConsumption(0D); |
| | | userInfo.setBalance(0D); |
| | | userInfo.setState(1); |
| | | userInfo.setAvatar("http://bao-weiqing.oss-cn-hangzhou.aliyuncs.com/img/a9fb2816e36644b292515ffdd6ebb411.jpg"); |
| | | |
| | | //用户所属企业 |
| | | if(null != registAreaCode){ |
| | |
| | | */ |
| | | public String getDefaultName(){ |
| | | int num = this.selectCount(new EntityWrapper<UserInfo>().ne("flag", 3)) + 1000001; |
| | | return "FB" + String.valueOf(num).substring(1); |
| | | return "WL" + String.valueOf(num).substring(1); |
| | | } |
| | | |
| | | |