|
|
@@ -10,6 +10,8 @@ import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
@Api(tags = "企业API接口")
|
|
|
@RestController
|
|
|
@RequestMapping("/company")
|
|
|
@@ -33,16 +35,16 @@ public class CompanyController {
|
|
|
return companyService.selectById(id);
|
|
|
}
|
|
|
|
|
|
-// /**
|
|
|
-// * @desc : 更新微信用的公司
|
|
|
-// * @author : 姜永辉
|
|
|
-// * @date : 2023/1/9 10:49
|
|
|
-// */
|
|
|
-// @ApiOperation(value = "编辑员工", notes = "编辑员工")
|
|
|
-// @PostMapping({"update"})
|
|
|
-// public ResponseResultVO<Boolean> updateWxUserCompany(@RequestBody StaffVO staffVO) {
|
|
|
-// return staffService.update(staffVO);
|
|
|
-// }
|
|
|
+ /**
|
|
|
+ * @desc : 更新微信用的公司
|
|
|
+ * @author : 姜永辉
|
|
|
+ * @date : 2023/1/9 10:49
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "更新微信用的公司", notes = "更新微信用的公司")
|
|
|
+ @PostMapping({"update_wx_user_company/"})
|
|
|
+ public ResponseResultVO<Boolean> updateWxUserCompany(@RequestBody Map<String,Object> map) {
|
|
|
+ return companyService.updateWxUserCompany(map);
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* @desc : 注册商户
|