fix: 微信登录,接口修改。
This commit is contained in:
@@ -39,4 +39,9 @@ public class WxMaProperties {
|
||||
*/
|
||||
private String msgDataFormat;
|
||||
|
||||
/**
|
||||
* 默认客户端ID(小程序登录使用)
|
||||
*/
|
||||
private String defaultClientId = "miniapp-client";
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.intc.weixin.domain.bo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
@@ -27,12 +28,12 @@ public class ReqWxLogin implements Serializable {
|
||||
* 登录时获取的jsCode(用于获取openId)
|
||||
*/
|
||||
@NotBlank(message = "jsCode不能为空")
|
||||
@JsonProperty("js_code")
|
||||
private String jsCode;
|
||||
|
||||
/**
|
||||
* 客户端ID
|
||||
*/
|
||||
@NotBlank(message = "客户端ID不能为空")
|
||||
private String clientId;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user