Commit d8636978 by guojuxing

商户logo修改接口添加

parent 2e249919
......@@ -185,7 +185,7 @@ public class EnterpriseApiServiceImpl implements EnterpriseApiService {
enterpriseDTO.setEnterpriseId(enterpriseId);
enterpriseDTO.setLogo(logoUrl);
enterpriseService.editEnterprise(enterpriseDTO);
return ServiceResponse.success();
return ServiceResponse.success(tabEnterprise.getEnterpriseName());
}
@Override
......
......@@ -193,6 +193,11 @@ public class EnterpriseController {
return ResultControllerUtils.commonResult(enterpriseApiService.editEnterprise(enterpriseDTO));
}
@RequestMapping("/modify-enterprise-logo")
public RestResponse modifyEnterpriseLogo(Integer enterpriseId, String logoUrl) {
return ResultControllerUtils.commonResult(enterpriseApiService.modifyEnterpriseLogo(enterpriseId, logoUrl));
}
@RequestMapping("/edit-user")
public RestResponse editUser(UserDTO userDTO) {
//自动密码
......
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