|
@@ -5,13 +5,14 @@ import org.springframework.stereotype.Controller;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Description: 作用描述
|
|
* @Description: 作用描述
|
|
* @Author: xuexb
|
|
* @Author: xuexb
|
|
* @CreateDate: 19-1-3$ 下午4:17$
|
|
* @CreateDate: 19-1-3$ 下午4:17$
|
|
*/
|
|
*/
|
|
-@Controller
|
|
|
|
|
|
+@RestController
|
|
public class ThirdPartyLoginController extends BaseController {
|
|
public class ThirdPartyLoginController extends BaseController {
|
|
|
|
|
|
@RequestMapping(value = UrlConstants.API + "github/login}", method = RequestMethod.GET)
|
|
@RequestMapping(value = UrlConstants.API + "github/login}", method = RequestMethod.GET)
|