Browse Source

修复提交

master
主管理员 2 weeks ago
parent
commit
8afe5a93b0
3 changed files with 10 additions and 4 deletions
  1. +8
    -2
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/service/impl/OrderCreateVipServiceImpl.java
  2. +1
    -1
      shop/.env.development
  3. +1
    -1
      shop/.env.production

+ 8
- 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/service/impl/OrderCreateVipServiceImpl.java View File

@ -124,6 +124,10 @@ public class OrderCreateVipServiceImpl implements OrderCreateVipService {
private IMsgEvaluateService msgEvaluateService;
//认证资料
//配置管理
@Resource
private IMsgConfigService msgConfigService;
@Resource
private IMsgTerService msgTerService;
@ -608,9 +612,11 @@ public class OrderCreateVipServiceImpl implements OrderCreateVipService {
//发送短信提现技师
public void sendSms(MsgTechnician msgTechnician){
//查询当前技师是否是测试技师
if(msgTechnician.getIsTest().equals("1")){
if(msgTechnician.getIsTest() == 1){
//查询配置管理里面的运营号
MsgConfig msgConfig = msgConfigService.lambdaQuery().eq(MsgConfig::getKeyValue,"sms_phone").one();
//发送短信给运营号
SmsClient.sendMsg2("18206530273",msgTechnician.getTitle());
SmsClient.sendMsg2(msgConfig.getContent(),msgTechnician.getTitle());
}else{
//根据技师中的用户标识查询用户信息
HanHaiMember hanHaiMember = hanHaiMemberService.lambdaQuery().eq(HanHaiMember::getId, msgTechnician.getUserId()).one();


+ 1
- 1
shop/.env.development View File

@ -1,5 +1,5 @@
NODE_ENV=development
VUE_APP_API_BASE_URL=http://localhost:8001/massage-api-tiandu/
VUE_APP_API_BASE_URL=http://localhost:8002/massage-api-tiandu/
VUE_APP_CAS_BASE_URL=http://cas.example.org:8443/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview


+ 1
- 1
shop/.env.production View File

@ -1,4 +1,4 @@
NODE_ENV=production
VUE_APP_API_BASE_URL=http://localhost:8001/massage-api-tiandu/
VUE_APP_API_BASE_URL=http://localhost:8002/massage-api-tiandu/
VUE_APP_CAS_BASE_URL=http://localhost:8888/cas
VUE_APP_ONLINE_BASE_URL=http://fileview.jeecg.com/onlinePreview

Loading…
Cancel
Save