Commit ec65e42d by guojuxing

公众号菜单同步微信调整:返回微信错误

parent 31fbe977
......@@ -97,6 +97,9 @@ public class WechatMenuController {
ServiceResponse<String> response = weixinMenuFunService.createMenu(appKey, json);
LOGGER.info("自定义菜单同步创建结果:{}", JSON.toJSONString(response));
if (!response.isSuccess()) {
return RestResponse.failure(response.getCode(), response.getMessage());
}
//初始化回调
enterpriseInitApiService.perfectMenuConfig(UserDetailUtils.getUserDetail().getEnterpriseId());
//日志
......
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