订单列表类型查询兼容2

door
LI-CCONG\李聪聪 7 months ago
parent 0596e0fc71
commit 15dfe751af

@ -1,6 +1,7 @@
package cc.yunxi.service.impl; package cc.yunxi.service.impl;
import cc.yunxi.common.exception.BizIllegalException; import cc.yunxi.common.exception.BizIllegalException;
import cc.yunxi.common.exception.BusinessLogicException;
import cc.yunxi.common.exception.ForbiddenException; import cc.yunxi.common.exception.ForbiddenException;
import cc.yunxi.config.props.WxHsyProperties; import cc.yunxi.config.props.WxHsyProperties;
import cc.yunxi.config.props.WxShProperties; import cc.yunxi.config.props.WxShProperties;
@ -102,7 +103,7 @@ public class CommonService implements ICommonService {
Recycler recycler = recyclerService.getRecyclerByPhoneNumber(userDTO.getPhone()); Recycler recycler = recyclerService.getRecyclerByPhoneNumber(userDTO.getPhone());
if (recycler == null) { if (recycler == null) {
// 回收员不存在,则注册, 注册入口关闭由PC端添加 // 回收员不存在,则注册, 注册入口关闭由PC端添加
throw new ForbiddenException("回收员不存在,请先联系商户注册"); throw new BusinessLogicException("回收员不存在,请先联系商户注册");
// recycler = recyclerService.registerRecycler(userDTO.getPhone(), userDTO.getOpenid()); // recycler = recyclerService.registerRecycler(userDTO.getPhone(), userDTO.getOpenid());
} }
if (ObjectUtil.isEmpty(recycler.getOpenid())) { if (ObjectUtil.isEmpty(recycler.getOpenid())) {

Loading…
Cancel
Save