update 优化 前端参数传参方式

feature/model
疯狂的狮子Li 1 year ago
parent 7accca933f
commit 02423ec320

@ -157,8 +157,8 @@ public class AuthController {
* @return
*/
@SuppressWarnings("unchecked")
@GetMapping("/social-login/{source}")
public R<String> socialLogin(@PathVariable("source") String source, AuthCallback callback) {
@GetMapping("/social-login")
public R<String> socialLogin(String source, AuthCallback callback) {
SocialLoginConfigProperties obj = socialProperties.getType().get(source);
if (ObjectUtil.isNull(obj)) {
return R.fail(source + "平台账号暂不支持");

Loading…
Cancel
Save