Authored by wangshusheng

强制走主

... ... @@ -3,6 +3,7 @@ package com.yoho.unions.server.restapi;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.yoho.core.common.utils.JsonUtil;
import com.yoho.core.dal.datasource.annotation.Database;
import com.yoho.error.ServiceError;
import com.yoho.error.exception.ServiceException;
import com.yoho.service.model.union.bo.*;
... ... @@ -307,6 +308,7 @@ public class UnionShareRest {
*/
@RequestMapping("/agreeApply")
@ResponseBody
@Database(ForceMaster = true)
public UnionResponse agreeApply(IdOrIdsBo req){
log.info("agreeApply req is {}", req);
int result = unionShareService.agreeApply(req);
... ...