Commit 3c67a1ac by 程裕兵

feat:vo enum -> string

parent cc0a93fa
......@@ -67,7 +67,7 @@ public class MerchantRpcService {
.configType(SubChannelConfigTypeEnums.WX_XCX_OFFLINE)
.build());
if (!result.getSuccess()) {
return ConfigSubChannelVO.builder().state(OpenStateEnums.FAIL).failMessage(result.getMessage()).build();
return ConfigSubChannelVO.builder().state(OpenStateEnums.FAIL.name()).failMessage(result.getMessage()).build();
}
return result.getResult();
}
......@@ -82,8 +82,8 @@ public class MerchantRpcService {
.build());
if (!result.getSuccess()) {
return AuthSubChannelVO.builder()
.state(OpenStateEnums.FAIL)
.phase(AuthPhaseEnums.APPLY_COMMIT_FAIL)
.state(OpenStateEnums.FAIL.name())
.phase(AuthPhaseEnums.APPLY_COMMIT_FAIL.name())
.failMessage(result.getMessage()).build();
}
return result.getResult();
......
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