Commit dd183f35 by guojuxing

获取商户信息

parent 594c7e36
......@@ -61,6 +61,12 @@ public class EnterpriseController {
return RestResponse.success(enterpriseVO);
}
@RequestMapping("/get-enterprise-info")
public RestResponse getEnterpriseInfo() {
Integer enterpriseId = UserDetailUtils.getUserDetail().getEnterpriseId();
return ResultControllerUtils.commonResult(this.enterpriseApiService.getEnterpriseById(enterpriseId));
}
@RequestMapping("/update-enterprise")
public RestResponse updateEnterprise(String enterpriseName, String companyName, String areaId, String address, String logo) {
EnterpriseDTO enterpriseDTO = new EnterpriseDTO();
......
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