Commit e6c7f7e1 by guojuxing

会员初始化接口调整:添加操作人信息

parent 6af7471d
......@@ -26,9 +26,11 @@ public interface EnterpriseInitApiService {
* @Description:

* @author guojuxing
* @param enterpriseId

* @param operationId 运维操作人ID
* @param operationName 运维操作人名称
* @return com.gic.api.base.commons.ServiceResponse<java.lang.Void>


*/
ServiceResponse<Void> completeMemberIndex(Integer enterpriseId);
ServiceResponse<Void> completeMemberIndex(Integer enterpriseId, Integer operationId, String operationName);
/**
* 完成商品索引初始化
......
......@@ -87,8 +87,8 @@ public class EnterpriseInitApiServiceImpl implements EnterpriseInitApiService{
}
@Override
public ServiceResponse<Void> completeMemberIndex(Integer enterpriseId) {
ServiceResponse<Void> memberInitResult = memberInitApiService.configInit(enterpriseId);
public ServiceResponse<Void> completeMemberIndex(Integer enterpriseId, Integer operationId, String operationName) {
ServiceResponse<Void> memberInitResult = memberInitApiService.configInit(enterpriseId, operationId, operationName);
if (memberInitResult.isSuccess()) {
return initByConfigCode(EnterpriseInitCodeEnum.COMPLETE_MEMBER_INDEX.getCode(), enterpriseId);
}
......
......@@ -656,7 +656,7 @@ public class EnterpriseController {
@RequestMapping("/init-member-index")
public RestResponse completeMemberIndex(Integer enterpriseId) {
return ResultControllerUtils.commonResult(enterpriseInitApiService.completeMemberIndex(enterpriseId));
return ResultControllerUtils.commonResult(enterpriseInitApiService.completeMemberIndex(enterpriseId, UserUtils.getUser().getId(), UserUtils.getUser().getRealName()));
}
@RequestMapping("/init-goods-index")
......
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