Commit 00bcfb01 by 程裕兵

feat:apply merchant

parent ee0d783f
......@@ -123,7 +123,9 @@ public class StudioMerchantServiceImpl implements StudioMerchantService {
} catch (Exception e) {
log.error("apply brand merchant fail {}, studio id = {}", apply.getId(), params.getStudioId(), e);
this.doOpenMerchantFail(apply.getId(), e.getMessage());
String failMessage =
e instanceof BizException ? ((BizException) e).getDefaultErrorMessage() : e.getMessage();
this.doOpenMerchantFail(apply.getId(), failMessage);
return;
}
......
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