批量删除成员改为post方法

This commit is contained in:
zhujj 2019-01-28 17:32:39 +08:00
parent d486b5db20
commit 884a16ac04
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ import me.chanjar.weixin.cp.api.WxCpService;
import me.chanjar.weixin.cp.api.WxCpUserService;
import me.chanjar.weixin.cp.bean.WxCpDepart;
import me.chanjar.weixin.cp.bean.WxCpUser;
import org.apache.ibatis.annotations.Delete;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
@ -139,7 +140,7 @@ public class WxUserController {
}
@Log(title = "批量删除成员", businessType = BusinessType.DELETE)
@GetMapping("/deleteByIds")
@PostMapping("/deleteByIds")
public AjaxResult delete(@RequestBody String[] ids) {
try {
WxCpUserService userService = WxCpConfiguration.getCpService( 999999 ).getUserService();