|
|
@@ -3,14 +3,14 @@ package com.uas.platform.b2b.v2.controller;
|
|
|
import com.uas.platform.b2b.model.User;
|
|
|
import com.uas.sso.entity.UserView;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import com.uas.platform.b2b.v2.service.UserService;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-@Controller("v2.UserController")
|
|
|
+@RestController("v2.UserController")
|
|
|
@RequestMapping(value = "/public/user")
|
|
|
public class UserController {
|
|
|
|