mirror of
https://gitee.com/youlaitech/youlai-mall.git
synced 2025-01-03 17:42:20 +08:00
feat:微信小程序用户登录逻辑
This commit is contained in:
parent
cd73d8bb9b
commit
9a3eb91ae7
Binary file not shown.
@ -53,7 +53,7 @@ public class WeAppService {
|
|||||||
public JwtTokenPair login(Map<String, String> parameters) {
|
public JwtTokenPair login(Map<String, String> parameters) {
|
||||||
|
|
||||||
String code = parameters.get("code");
|
String code = parameters.get("code");
|
||||||
String userInfo = parameters.get("userInfo");
|
// String userInfo = parameters.get("userInfo");
|
||||||
|
|
||||||
if (StrUtil.isBlank(code)) {
|
if (StrUtil.isBlank(code)) {
|
||||||
throw new BizException("code不能为空");
|
throw new BizException("code不能为空");
|
||||||
|
Loading…
Reference in New Issue
Block a user