Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
聂康
local-rnr-user
Commits
02be8110
Commit
02be8110
authored
Jun 17, 2025
by
kang.nie@inzymeits.com
Browse files
初始化代码
parent
e9f88257
Pipeline
#3111
failed with stages
in 0 seconds
Changes
259
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitignore
0 → 100644
View file @
02be8110
#Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
# Java class files
*.class
# Generated files
*/bin/
*/gen/
*/out/
# Gradle files
.gradle/
build/
*/build/
gradlew
gradlew.bat
# Local configuration file (sdk path, etc)
local.properties
# Proguard folder generated by Eclipse
proguard/
# Log Files
*.log
# Android Studio Navigation editor temp files
.navigation/
# Android Studio captures folder
captures/
# Intellij
*.iml
*/*.iml
# Keystore files
#*.jks
#gradle wrapper
gradle/
#some local files
*/.settings/
*/.DS_Store
.DS_Store
*/.idea/
.idea/
gradlew
gradlew.bat
unused.txt
# Eclipse Project files
.classpath
.project
.settings/
.factorypath
*/target/
# Nodejs files
*/node-modules/
\ No newline at end of file
local-rnr-user-dto/pom.xml
0 → 100644
View file @
02be8110
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<artifactId>
local-rnr-user
</artifactId>
<groupId>
com.cusc.nirvana
</groupId>
<version>
1.0-SNAPSHOT
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
local-rnr-user-dto
</artifactId>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.target>
8
</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>
com.cusc.nirvana
</groupId>
<artifactId>
user-config-common
</artifactId>
<version>
1.2-SNAPSHOT
</version>
</dependency>
</dependencies>
</project>
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/authentication/dto/AccessVerifyReq.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.authentication.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 鉴权请求参数对象
* <br />
* CreateDate 2021-11-05 13:51
*
* @author yuyi
**/
@ApiModel
(
value
=
"鉴权请求参数对象"
,
description
=
"鉴权请求参数对象"
)
@Data
public
class
AccessVerifyReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"请求的token"
)
private
String
token
;
@ApiModelProperty
(
"请求的url"
)
private
String
url
;
@ApiModelProperty
(
"请求的应用id"
)
private
String
appId
;
@ApiModelProperty
(
"租户编号"
)
private
String
tenantNo
;
@ApiModelProperty
(
"请求的服务名"
)
private
String
serverName
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/constants/CaptchaTypeEnum.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.constants
;
/**
* Description: 验证码类型
* <br />
* CreateDate 2021-10-28 12:49:12
*
* @author yuyi
**/
public
enum
CaptchaTypeEnum
{
TYPE_DEFAULT
(
1
,
"字母数字混合"
),
TYPE_ONLY_NUMBER
(
2
,
"纯数字"
),
TYPE_ONLY_CHAR
(
3
,
"纯字母"
),
TYPE_ONLY_UPPER
(
4
,
"纯大写字母"
),
TYPE_ONLY_LOWER
(
5
,
"纯小写字母"
),
TYPE_NUM_AND_UPPER
(
6
,
"数字大写字母"
);
private
int
code
;
private
String
name
;
CaptchaTypeEnum
(
int
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
static
CaptchaTypeEnum
getEnumByCode
(
int
code
)
{
for
(
CaptchaTypeEnum
sys
:
CaptchaTypeEnum
.
values
())
{
if
(
sys
.
getCode
()
==
code
)
{
return
sys
;
}
}
return
null
;
}
public
int
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/constants/UserTypeEnum.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.constants
;
/**
* Description: 用户类型
* <br />
* CreateDate 2021-10-28 12:49:12
*
* @author yuyi
**/
public
enum
UserTypeEnum
{
EIAM
(
1
,
"B端用户"
),
CIAM
(
2
,
"C端用户"
);
private
int
code
;
private
String
name
;
UserTypeEnum
(
int
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
static
UserTypeEnum
getEnumByCode
(
int
code
)
{
for
(
UserTypeEnum
sys
:
UserTypeEnum
.
values
())
{
if
(
sys
.
getCode
()
==
code
)
{
return
sys
;
}
}
return
null
;
}
public
int
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/dto/AccessTokenHashDTO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.*
;
/**
* Description: AccessToken hash对象
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"AccessToken hash对象"
,
description
=
"AccessToken hash对象"
)
public
class
AccessTokenHashDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"刷新token"
)
private
String
refresh
;
@ApiModelProperty
(
"用户id"
)
private
String
userId
;
@ApiModelProperty
(
"用户授权的作用域"
)
private
String
scope
;
@ApiModelProperty
(
"应用id"
)
private
String
appId
;
@ApiModelProperty
(
"租户编号"
)
private
String
tenantNo
;
@ApiModelProperty
(
"组织id"
)
private
String
organId
;
public
String
getRefresh
()
{
return
refresh
;
}
public
void
setRefresh
(
String
refresh
)
{
this
.
refresh
=
refresh
;
}
public
String
getUserId
()
{
return
userId
;
}
public
void
setUserId
(
String
userId
)
{
this
.
userId
=
userId
;
}
public
String
getScope
()
{
return
scope
;
}
public
void
setScope
(
String
scope
)
{
this
.
scope
=
scope
;
}
public
String
getAppId
()
{
return
appId
;
}
public
void
setAppId
(
String
appId
)
{
this
.
appId
=
appId
;
}
public
String
getTenantNo
()
{
return
tenantNo
;
}
public
void
setTenantNo
(
String
tenantNo
)
{
this
.
tenantNo
=
tenantNo
;
}
public
String
getOrganId
()
{
return
organId
;
}
public
void
setOrganId
(
String
organId
)
{
this
.
organId
=
organId
;
}
@Override
public
String
toString
()
{
return
"AccessTokenHashDTO{"
+
"refresh='"
+
refresh
+
'\''
+
", userId='"
+
userId
+
'\''
+
", scope='"
+
scope
+
'\''
+
", appId='"
+
appId
+
'\''
+
", tenantNo='"
+
tenantNo
+
'\''
+
'}'
;
}
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/dto/LogoutDTO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 退出传输对象
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"退出传输对象"
,
description
=
"退出传输对象"
)
@Data
public
class
LogoutDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"访问token"
)
private
String
accessToken
;
@ApiModelProperty
(
"应用id"
)
private
String
applicationId
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/dto/RefreshTokenHashDTO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: AccessToken hash对象
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"AccessToken hash对象"
,
description
=
"AccessToken hash对象"
)
@Data
public
class
RefreshTokenHashDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"访问token"
)
private
String
access
;
@ApiModelProperty
(
"用户id"
)
private
String
userId
;
@ApiModelProperty
(
"用户授权的作用域"
)
private
String
scope
;
@ApiModelProperty
(
"应用id"
)
private
String
appId
;
@ApiModelProperty
(
"租户编号"
)
private
String
tenantNo
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/dto/SmsResponseDTO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 短信发送响应
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"短信发送响应"
,
description
=
"短信发送响应"
)
@Data
public
class
SmsResponseDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"短信发送的id"
)
private
String
messageId
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/dto/SmsSendDTO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
import
java.util.List
;
/**
* Description: 短信发送dto
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"短信发送dto"
,
description
=
"短信发送dto"
)
@Data
public
class
SmsSendDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"请求key,短信网关提供"
)
private
String
accesskey
;
@ApiModelProperty
(
"短信推送,透传字段"
)
private
String
callbackParam
;
@ApiModelProperty
(
"手机号码集合"
)
private
List
<
String
>
phoneNumbers
;
@ApiModelProperty
(
"短信签名Code"
)
private
String
signatureCode
;
@ApiModelProperty
(
"推送策略Code"
)
private
String
strategyCode
;
@ApiModelProperty
(
"短信模板Code"
)
private
String
templateCode
;
@ApiModelProperty
(
"短信模板参数"
)
private
List
<
String
>
templateParams
;
@ApiModelProperty
(
"短信推送透传字段"
)
private
String
upstreamCallbackParam
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/common/dto/UserTokenListDTO.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.common.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 用户令牌list对象
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"用户令牌list对象"
,
description
=
"用户令牌list对象"
)
@Data
public
class
UserTokenListDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"刷新token"
)
private
String
refresh
;
@ApiModelProperty
(
"访问token"
)
private
String
access
;
@ApiModelProperty
(
"应用id"
)
private
String
appId
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/CaptchaCreateReq.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
com.cusc.nirvana.user.auth.common.constants.CaptchaTypeEnum
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 验证码创建请求dto
* <br />
* CreateDate 2022-01-24 14:02:17
*
* @author yuyi
**/
@ApiModel
(
value
=
"验证码创建请求dto"
,
description
=
"验证码创建请求dto"
)
@Data
public
class
CaptchaCreateReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"应用id"
)
private
String
applicationId
;
@ApiModelProperty
(
value
=
"验证码类型"
)
private
CaptchaTypeEnum
captchaType
;
@ApiModelProperty
(
value
=
"验证码宽度"
)
private
int
captchaWidth
;
@ApiModelProperty
(
value
=
"验证码高度"
)
private
int
captchaHeight
;
@ApiModelProperty
(
value
=
"验证码长度"
)
private
int
captchaLength
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/CaptchaCreateResp.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 验证码创建响应DTO
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"验证码创建响应DTO"
,
description
=
"验证码创建响应DTO"
)
@Data
public
class
CaptchaCreateResp
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"请求id"
)
private
String
requestId
;
@ApiModelProperty
(
value
=
"验证码图片"
)
private
String
captchaImg
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/CaptchaVerificationReq.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 验证码验证请求dto
* <br />
* CreateDate 2022-01-24 14:02:17
*
* @author yuyi
**/
@ApiModel
(
value
=
"验证码验证请求dto"
,
description
=
"验证码验证请求dto"
)
@Data
public
class
CaptchaVerificationReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"应用id"
)
private
String
applicationId
;
@ApiModelProperty
(
value
=
"租户编号"
)
private
String
tenantNo
;
@ApiModelProperty
(
value
=
"验证码的值"
)
private
String
captchaValue
;
@ApiModelProperty
(
value
=
"请求id"
)
private
String
requestId
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/MobileLoginReq.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 手机号登录请求
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"手机号登录请求"
,
description
=
"手机号登录请求"
)
@Data
public
class
MobileLoginReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"手机号"
,
example
=
"130xxxxxxxx"
)
private
String
phone
;
@ApiModelProperty
(
value
=
"验证码"
,
example
=
"3456/sujd"
)
private
String
captcha
;
@ApiModelProperty
(
value
=
"验证码失效时间(秒)"
)
private
Integer
captchaExpire
;
@ApiModelProperty
(
value
=
"应用id"
,
example
=
"1"
)
private
String
applicationId
;
@ApiModelProperty
(
value
=
"租户编号"
,
example
=
"1"
)
private
String
tenantNo
;
@ApiModelProperty
(
value
=
"是否验证图形验证码 true 验证 false 不验证"
,
example
=
"默认 false "
)
private
boolean
checkCaptchaImg
;
@ApiModelProperty
(
value
=
"图形验证码"
,
example
=
"3456/sujd"
)
private
String
captchaImage
;
@ApiModelProperty
(
value
=
"请求id"
,
example
=
"c2d4819083cb40dba35bbe007779ba6a"
)
private
String
requestId
;
@ApiModelProperty
(
value
=
"短信发送配置"
)
private
SmsSendConfig
smsSendConfig
;
@ApiModelProperty
(
value
=
"用户类型,参考枚举:UserTypeEnum"
)
private
Integer
userType
;
@ApiModelProperty
(
value
=
"用于区分是否需要跳过用户校验"
)
private
String
loginType
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/Oauth2Token.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.*
;
/**
* Description: 用户token dto
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"oauth token对象"
,
description
=
"oauth token对象"
)
public
class
Oauth2Token
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"访问token"
,
example
=
"e7486b176ea5447a9747856f53330220"
)
private
String
access_token
;
@ApiModelProperty
(
value
=
"token类型"
,
example
=
"bearer"
)
private
String
token_type
;
@ApiModelProperty
(
value
=
"刷新token"
,
example
=
"9ff4aa6be3fa4ce5bc6330859b963025"
)
private
String
refresh_token
;
@ApiModelProperty
(
value
=
"过期时间(秒)"
,
example
=
"1000"
)
private
Integer
expires_in
;
@ApiModelProperty
(
value
=
"用户授权的作用域"
,
example
=
"ALL"
)
private
String
scope
;
@ApiModelProperty
(
value
=
"用户信息"
,
example
=
"用户信息"
)
private
UserLoginResp
info
;
public
String
getAccess_token
()
{
return
access_token
;
}
public
void
setAccess_token
(
String
access_token
)
{
this
.
access_token
=
access_token
;
}
public
String
getToken_type
()
{
return
token_type
;
}
public
void
setToken_type
(
String
token_type
)
{
this
.
token_type
=
token_type
;
}
public
String
getRefresh_token
()
{
return
refresh_token
;
}
public
void
setRefresh_token
(
String
refresh_token
)
{
this
.
refresh_token
=
refresh_token
;
}
public
Integer
getExpires_in
()
{
return
expires_in
;
}
public
void
setExpires_in
(
Integer
expires_in
)
{
this
.
expires_in
=
expires_in
;
}
public
UserLoginResp
getInfo
()
{
return
info
;
}
public
void
setInfo
(
UserLoginResp
info
)
{
this
.
info
=
info
;
}
public
String
getScope
()
{
return
scope
;
}
public
void
setScope
(
String
scope
)
{
this
.
scope
=
scope
;
}
@Override
public
String
toString
()
{
return
"UserToken{"
+
"access_token='"
+
access_token
+
'\''
+
", token_type='"
+
token_type
+
'\''
+
", refresh_token='"
+
refresh_token
+
'\''
+
", expires_in="
+
expires_in
+
", info="
+
info
+
", scope="
+
scope
+
'}'
;
}
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/RandomIdReq.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 随机id请求
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"随机id请求"
,
description
=
"随机id请求"
)
@Data
public
class
RandomIdReq
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"随机id有效时间:秒"
)
private
Integer
expireTime
;
@ApiModelProperty
(
value
=
"应用id"
)
private
String
applicationId
;
@ApiModelProperty
(
value
=
"请求id"
)
private
String
requestId
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/RandomIdResp.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 随机id响应
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"随机id响应"
,
description
=
"随机id响应"
)
@Data
public
class
RandomIdResp
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"请求id"
,
example
=
"19ea9376058241eca9ce07530fb66f76"
)
private
String
requestId
;
@ApiModelProperty
(
value
=
"密钥"
)
private
String
secretKey
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/SmsSendConfig.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 短信发送配置
* <br />
* CreateDate 2022-01-27 14:26:28
*
* @author yuyi
**/
@ApiModel
(
value
=
"短信发送配置"
,
description
=
"短信发送配置"
)
@Data
public
class
SmsSendConfig
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"短信发送总次数限制(天)"
)
private
Integer
smsTotalLimit
;
@ApiModelProperty
(
value
=
"短信发送间隔限制(秒)"
)
private
Integer
smsIntervalLimit
;
@ApiModelProperty
(
value
=
"短信签名code"
)
private
String
smsSignatureCode
;
@ApiModelProperty
(
value
=
"短信平台key"
)
private
String
smsPlatformKey
;
@ApiModelProperty
(
value
=
"短信模板code。描述各场景(登录、忘记密码等)的短信模板"
)
private
String
smsTemplateCode
;
@ApiModelProperty
(
value
=
"推送策略Code"
)
public
String
strategyCode
;
@ApiModelProperty
(
value
=
"短信发送总次数限制KEY"
)
public
String
totalLimitKey
;
@ApiModelProperty
(
value
=
"短信发送间隔限制KEY"
)
public
String
intervalLimitKey
;
@ApiModelProperty
(
value
=
"应用id"
)
public
String
appId
;
@ApiModelProperty
(
value
=
"租户编号"
)
public
String
tenantNo
;
}
local-rnr-user-dto/src/main/java/com/cusc/nirvana/user/auth/identification/dto/UserLoginResp.java
0 → 100644
View file @
02be8110
package
com.cusc.nirvana.user.auth.identification.dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.*
;
/**
* Description: 用户登录响应信息
* <br />
* CreateDate 2021-11-02 19:33:22
*
* @author yuyi
**/
@ApiModel
(
value
=
"用户登录响应信息"
,
description
=
"用户登录响应信息"
)
@Data
public
class
UserLoginResp
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"用户id"
,
example
=
"e7486b176ea5447a9747856f53330220"
)
private
String
userId
;
@ApiModelProperty
(
value
=
"昵称"
,
example
=
"张三"
)
private
String
nickName
;
@ApiModelProperty
(
value
=
"登录名"
,
example
=
"xxx"
)
private
String
loginName
;
@ApiModelProperty
(
value
=
"应用id"
,
example
=
"1"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"租户编号"
,
example
=
"1"
)
private
String
tenantNo
;
}
Prev
1
2
3
4
5
…
13
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment