报错
This commit is contained in:
@@ -114,7 +114,6 @@ public class UDistributionController {
|
|||||||
try {
|
try {
|
||||||
return CzgResult.success(distributionUserService.getInviteCode(shopId, shopUserId));
|
return CzgResult.success(distributionUserService.getInviteCode(shopId, shopUserId));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("autoGetInviteCode", e);
|
|
||||||
log.error("获取邀请码失败用户:{},:{}", shopUserId, e.getMessage());
|
log.error("获取邀请码失败用户:{},:{}", shopUserId, e.getMessage());
|
||||||
return CzgResult.success("");
|
return CzgResult.success("");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ public class FunUtils {
|
|||||||
try {
|
try {
|
||||||
func.run();
|
func.run();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
log.error("方法执行失败: {}", msg, e);
|
||||||
log.warn(msg.length > 0 ? msg[0] : "方法执行失败: {}", e.getMessage());
|
log.warn(msg.length > 0 ? msg[0] : "方法执行失败: {}", e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user