|
@@ -13,10 +13,7 @@ import io.swagger.annotations.ApiResponse;
|
|
import io.swagger.annotations.ApiResponses;
|
|
import io.swagger.annotations.ApiResponses;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author : lingfeng
|
|
* @author : lingfeng
|
|
@@ -70,7 +67,7 @@ public class UserController {
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取客服信息")
|
|
@ApiOperation(value = "获取客服信息")
|
|
- @PostMapping("/get/customer")
|
|
|
|
|
|
+ @GetMapping("/get/customer")
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = CustomerVO.class)})
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = CustomerVO.class)})
|
|
public ResultVO<CustomerVO> getUserCustomer(UserData userData) {
|
|
public ResultVO<CustomerVO> getUserCustomer(UserData userData) {
|
|
return ResultVO.ok(userService.getUserCustomer(userData));
|
|
return ResultVO.ok(userService.getUserCustomer(userData));
|