|
@@ -1,8 +1,6 @@
|
|
|
package com.ym.controller;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSON;
|
|
|
import com.ym.common.BaseResponse;
|
|
|
-import com.ym.mec.biz.service.impl.TenantInfoServiceImpl;
|
|
|
import com.ym.pojo.ImUserState;
|
|
|
import com.ym.service.UserService;
|
|
|
import io.rong.models.user.UserModel;
|
|
@@ -11,6 +9,8 @@ import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
@RestController
|
|
|
@RequestMapping("/user")
|
|
|
public class UserController {
|
|
@@ -34,7 +34,7 @@ public class UserController {
|
|
|
* @param userState
|
|
|
*/
|
|
|
@PostMapping(value = "/statusImUser")
|
|
|
- public BaseResponse statusImUser(@RequestBody ImUserState userState) {
|
|
|
+ public BaseResponse statusImUser(@RequestBody List<ImUserState> userState) {
|
|
|
log.info("statusImUser >>>>> : {}", userState);
|
|
|
return new BaseResponse<>();
|
|
|
}
|