Commit d48c0f69 by huang

111

parent 41eca4d1
......@@ -6,6 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.gic.enterprise.api.dto.EnterpriseAndUserDTO;
import com.gic.enterprise.api.service.EnterpriseService;
import com.gic.haoban.common.utils.HaobanResponse;
import com.gic.haoban.manage.api.dto.EnterpriseDetailDTO;
......@@ -28,10 +29,10 @@ public class WxEnterpriseController extends WebBaseController{
}
//gic企业列表
@RequestMapping("wx-enterprise-list")
public HaobanResponse gicEnterpriseList(String search) {
enterpriseService.getEnterpriseAndUserByName(search);
return resultResponse(HaoBanErrCode.ERR_1, list);
@RequestMapping("gic-enterprise-detail")
public HaobanResponse gicEnterpriseDetail(String search) {
EnterpriseAndUserDTO dto = enterpriseService.getEnterpriseAndUserByName(search);
return resultResponse(HaoBanErrCode.ERR_1,dto);
}
//微信企业绑定接口
......@@ -42,7 +43,5 @@ public class WxEnterpriseController extends WebBaseController{
}
com.gic.enterprise.api.service.EnterpriseService#getEnterpriseAndUserByName
}
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