|
@@ -5,6 +5,7 @@ import java.util.List;
|
|
import com.keao.edu.im.api.entity.*;
|
|
import com.keao.edu.im.api.entity.*;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.http.MediaType;
|
|
import org.springframework.http.MediaType;
|
|
|
|
+import org.springframework.scheduling.annotation.Async;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
@@ -150,5 +151,6 @@ public interface ImFeignService {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@PostMapping(value = "room/destroyRoom")
|
|
@PostMapping(value = "room/destroyRoom")
|
|
|
|
+ @Async
|
|
void destroyRoom(@RequestParam("roomId") Long roomId,@RequestParam("userId") String userId);
|
|
void destroyRoom(@RequestParam("roomId") Long roomId,@RequestParam("userId") String userId);
|
|
}
|
|
}
|