Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周健威
rs-cloud-platform
Commits
7a27a20a
Commit
7a27a20a
authored
Nov 25, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改database设置没有生效的问题
parent
fb87424a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
165 additions
and
0 deletions
+165
-0
RedisKey.java
...ava/com/upyuns/platform/rs/website/constant/RedisKey.java
+109
-0
CaptchaBaseParam.java
.../com/upyuns/platform/rs/website/dto/CaptchaBaseParam.java
+22
-0
Demo.java
...main/java/com/upyuns/platform/rs/website/entity/Demo.java
+19
-0
WebsiteFeign.java
...va/com/upyuns/platform/rs/website/feign/WebsiteFeign.java
+15
-0
No files found.
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/constant/RedisKey.java
0 → 100644
View file @
7a27a20a
package
com
.
upyuns
.
platform
.
rs
.
website
.
constant
;
public
class
RedisKey
{
/**
* 常量缓存key前缀
*/
public
static
final
String
TOKEN_CACHE_PREFIX
=
"cache:token:"
;
/**
* 地区常量缓存key前缀(子读取列表)
*/
public
static
final
String
SYS_REGION_SONS_CACHE_PREFIX
=
"cache:sysRegion:sons:"
;
/**
* 地区常量缓存key前缀(子读取列表)
*/
public
static
final
String
SYS_REGION_CACHE_PREFIX
=
"cache:sysRegion:"
;
/**
* 刷新常量缓存乐观锁前缀
*/
public
static
final
String
CONSTANT_REFRESH_LOCK_PREFIX
=
"lock:constant:"
;
/**
* 地区常量缓存key前缀
*/
public
static
final
String
SYS_REGION_REFRESH_LOCK
=
"lock:sysRegion:"
;
/**
* 迁移预定信息rediseky
*/
public
static
final
String
DEL_BOOK_INFO_LOCK_PREFIX
=
"lock:del:bookInfo:"
;
/**
* 迁移预定记录rediseky
*/
public
static
final
String
TRANSFER_BOOK_RECORD_LOCK_PREFIX
=
"lock:bookRecord:transfer"
;
/**
* 子公司列表缓存key前缀
*/
public
static
final
String
BRANCH_COMPANY_CACHE
=
"cache:brachCompany"
;
/**
* 子公司列表缓存key前缀
*/
public
static
final
String
BRANCH_COMPANY_CACHE_ALL
=
BRANCH_COMPANY_CACHE
+
":all"
;
/**
* 片区对应的子公司缓存key前缀
*/
public
static
final
String
BRANCH_COMPANY_CACHE_DATAZONE
=
BRANCH_COMPANY_CACHE
+
":dataZone{1}"
;
/**
* 营地列表缓存key前缀
*/
public
static
final
String
CAMPSITE_CACHE
=
"cache:campsite"
;
/**
* 营地列表缓存key前缀
*/
public
static
final
String
CAMPSITE_CACHE_ALL
=
CAMPSITE_CACHE
+
":all"
;
/**
* 片区对应的营地缓存key前缀
*/
public
static
final
String
CAMPSITE_CACHE_DATAZONE
=
CAMPSITE_CACHE
+
":dataZone{1}"
;
// 随车物品相关key
public
static
final
String
ACCOMPANYING_ITEM_CACHE_ALL
=
"cache:accompanyItem:all"
;
/**
* 服务器上传文件序号
*/
public
static
final
String
UPLOAD_FILE_NO_PREFIX
=
"upload:file:no:"
;
/**
* 预警信息检查乐观锁
*/
public
static
final
String
LOCK_VEHICLE_WARNING_MSG
=
"lock:vehicle:warningMsg"
;
/**
* 车辆预警,前一天检查的里程数redisKey前缀
*/
public
static
final
String
MILEAGE_LAST_DAY_PREFIX
=
"mileage:last_day:"
;
/**
* 车辆预警,前一天检查的里程数redisKey前缀
*/
public
static
final
String
CACHE_DICTIONARY_PREFIX
=
"cache:dictionary:"
;
public
static
final
String
CACHE_DICTIONARY_ALL
=
CACHE_DICTIONARY_PREFIX
+
"all:"
;
public
static
final
String
CACHE_DICTIONARY_ALL_MAP
=
CACHE_DICTIONARY_ALL
+
"map:"
;
public
static
final
String
ILLEGAL_VEHICLE_ENQUIRIES
=
"cache:violation"
;
/**
* 服务器上传压缩包文件序号
*/
public
static
final
String
UPLOAD_ZIP_NO_PREFIX
=
"upload:zip:no:"
;
public
static
final
String
CAPTCHA_PHONE_PREFIX
=
"captcha:phone:"
;
}
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/dto/CaptchaBaseParam.java
0 → 100644
View file @
7a27a20a
package
com
.
upyuns
.
platform
.
rs
.
website
.
dto
;
import
java.io.Serializable
;
/**
* 基础入参对象
* @author stx
* @date 2018/11/5 16:35
* @desc
*/
public
class
CaptchaBaseParam
implements
Serializable
{
private
String
urlOrPath
;
public
String
getUrlOrPath
()
{
return
urlOrPath
;
}
public
void
setUrlOrPath
(
String
urlOrPath
)
{
this
.
urlOrPath
=
urlOrPath
;
}
}
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/entity/Demo.java
0 → 100644
View file @
7a27a20a
package
com
.
upyuns
.
platform
.
rs
.
website
.
entity
;
import
lombok.Data
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Transient
;
import
java.io.Serializable
;
import
java.util.Set
;
@Data
@Table
(
name
=
"demo"
)
public
class
Demo
implements
Serializable
{
@Id
private
Integer
id
;
private
String
name
;
}
\ No newline at end of file
rs-website/rs-website-api/src/main/java/com/upyuns/platform/rs/website/feign/WebsiteFeign.java
0 → 100644
View file @
7a27a20a
package
com
.
upyuns
.
platform
.
rs
.
website
.
feign
;
import
org.springframework.cloud.openfeign.FeignClient
;
/**
* ${DESCRIPTION}
*
* @author wanghaobin
* @create 2017-06-21 8:11
*/
@FeignClient
(
value
=
"rs-website"
,
contextId
=
"website-base"
)
public
interface
WebsiteFeign
{
}
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