yshop1.7发布,后台升級eladmin2.4(前端,后台权限,代码生成器等重构),修复商品分类等一些问题

This commit is contained in:
hupeng
2020-01-07 23:24:01 +08:00
parent b5c4386963
commit 2c9816d57d
490 changed files with 14611 additions and 7104 deletions

View File

@ -1,5 +1,6 @@
package co.yixiang.common.rocketmq;
import co.yixiang.exception.ErrorRequestException;
import org.apache.rocketmq.client.exception.MQBrokerException;
import org.apache.rocketmq.client.exception.MQClientException;
import org.apache.rocketmq.client.producer.DefaultMQProducer;
@ -36,7 +37,7 @@ public class MqProducer {
try {
defaultMQProducer.send(message);
} catch (MQClientException e) {
e.printStackTrace();
throw new ErrorRequestException("RocketMQ服务没启动哦");
} catch (RemotingException e) {
e.printStackTrace();
} catch (MQBrokerException e) {

View File

@ -57,6 +57,8 @@ jwt:
secret: JBqNQX7HD9xhwHP7
# token 过期时间 6个小时
expiration: 210000000
# 在线用户key
online-key: online-token
auth:
# 授权路径
path: /login

View File

@ -58,6 +58,8 @@ jwt:
secret: JBqNQX7HD9xhwHP7YSHOP
# token 过期时间 2个小时
expiration: 7200000
# 在线用户key
online-key: online-token
auth:
# 授权路径
path: /login

View File

@ -69,7 +69,8 @@ logging:
me.chanjar.weixin: DEBUG
#订单未付款订单时间(单位秒)
job:
unpayorder: 10
# sm.ms 图床的 token
smms:
token: 1oOP3ykFDI0K6ifmtvU7c8Y1eTWZSlyl