Commit 8c4b927f by fanjiaxin

推客分佣单阿波罗配置调整

parent 90ed7c9f
Pipeline #75526 passed with stages
in 1 minute 1 second
package com.netease.yanxuan.wx.store.sharer.biz.service.impl;
import com.netease.yanxuan.wx.store.sharer.biz.core.LoginUserContextHolder;
import com.netease.yanxuan.wx.store.sharer.biz.meta.enums.SmsScenesEnum;
import com.netease.yanxuan.wx.store.sharer.biz.meta.model.bo.SmsCodeBO;
import com.netease.yanxuan.wx.store.sharer.biz.service.ISmsService;
......@@ -78,7 +77,7 @@ public class SmsServiceImpl implements ISmsService {
// 生成6位随机数字
String code = RandomUtils.randomNumber(6);
// uas发送验证码
boolean success = iUasClient.sendSmsCode(LoginUserContextHolder.get().getOpenId(),
boolean success = iUasClient.sendSmsCode("1",
mobilePhone, code, scenes, scenesConfigBO);
if (!success) {
return false;
......
......@@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
@EnableAutoUpdateApolloConfig("rpc.config")
public class RpcConfig {
/**
* uas
* uas地址
*/
@Value("${uas.url:http://127.0.0.1:8550/proxy/test.logistics-uas.service.mailsaas}")
private String uasUrl;
......
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