this is 4.2 update
This commit is contained in:
parent
8501efc60d
commit
4a6047bd22
|
@ -14,7 +14,7 @@ public interface UserConstant {
|
||||||
/**
|
/**
|
||||||
* 用户默认头像
|
* 用户默认头像
|
||||||
*/
|
*/
|
||||||
String USER_DEFAULT_AVATAR = "avatar.png";
|
String USER_DEFAULT_AVATAR = FileConstant.SERVER_HOST + "feiyi/miniProgram/mine/main/avatar.png";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户登录键
|
* 用户登录键
|
||||||
|
|
|
@ -65,7 +65,6 @@ public class WeChatLogisticsController {
|
||||||
private RedisTemplate<String, Object> redisTemplate;
|
private RedisTemplate<String, Object> redisTemplate;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private OrderService orderService;
|
private OrderService orderService;
|
||||||
|
|
||||||
|
|
|
@ -185,7 +185,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
||||||
user.setUserAccount(userAccount);
|
user.setUserAccount(userAccount);
|
||||||
user.setUserPassword(userPassword);
|
user.setUserPassword(userPassword);
|
||||||
user.setMiniOpenId(openid);
|
user.setMiniOpenId(openid);
|
||||||
user.setUserName("玲珑" + RandomUtil.randomString(8));
|
user.setUserName("泠珑" + RandomUtil.randomString(8));
|
||||||
user.setUserRole("user");
|
user.setUserRole("user");
|
||||||
user.setPoints(10000);
|
user.setPoints(10000);
|
||||||
user.setUserAvatar(UserConstant.USER_DEFAULT_AVATAR);
|
user.setUserAvatar(UserConstant.USER_DEFAULT_AVATAR);
|
||||||
|
|
|
@ -92,7 +92,6 @@ wx:
|
||||||
apiV3Key: fbemuj4Xql7CYlQJAoTEPYxvPSNgYT2t
|
apiV3Key: fbemuj4Xql7CYlQJAoTEPYxvPSNgYT2t
|
||||||
#通知地址
|
#通知地址
|
||||||
notifyUrl: https://winning-mouse-internally.ngrok-free.app
|
notifyUrl: https://winning-mouse-internally.ngrok-free.app
|
||||||
|
|
||||||
#微信服务器地址
|
#微信服务器地址
|
||||||
domain: https://api.mch.weixin.qq.com
|
domain: https://api.mch.weixin.qq.com
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: prod
|
active: dev
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user