Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
OSmall
/
linjiashop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ee708f0b
authored
Dec 19, 2020
by
tyfanchz
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
2 parents
a255e482
2d13d84f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
406 additions
and
1 deletions
shop-core/pom.xml
shop-core/src/main/java/com/glsx/shop/bean/entity/shop/PlatformCustomer.java
shop-core/src/main/java/com/glsx/shop/bean/entity/shop/PlatformUser.java
shop-core/src/main/java/com/glsx/shop/bean/exception/ApplicationExceptionEnum.java
shop-core/src/main/java/com/glsx/shop/bean/vo/JwtUser.java
shop-core/src/main/java/com/glsx/shop/bean/vo/front/Rets.java
shop-core/src/main/java/com/glsx/shop/dao/shop/PlatformCustomerRepository.java
shop-core/src/main/java/com/glsx/shop/dao/shop/PlatformUserRepository.java
shop-core/src/main/java/com/glsx/shop/service/shop/PlatformCustomerService.java
shop-core/src/main/java/com/glsx/shop/service/shop/PlatformUserService.java
shop-core/src/main/java/com/glsx/shop/utils/HttpUtils.java
shop-core/src/main/java/com/glsx/shop/utils/SSLClient.java
shop-generator/src/main/resources/code/code.json
shop-mobile-api/src/main/java/com/glsx/shop/mobile/controller/AppLoginController.java
shop-mobile-api/src/main/resources/application-dev.properties
shop-core/pom.xml
View file @
ee708f0
...
@@ -169,6 +169,20 @@
...
@@ -169,6 +169,20 @@
<groupId>
io.projectreactor
</groupId>
<groupId>
io.projectreactor
</groupId>
<artifactId>
reactor-core
</artifactId>
<artifactId>
reactor-core
</artifactId>
</dependency>
</dependency>
<!--json-->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<version>
${fastjson.version}
</version>
</dependency>
<dependency>
<groupId>
commons-httpclient
</groupId>
<artifactId>
commons-httpclient
</artifactId>
<version>
3.1
</version>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
...
...
shop-core/src/main/java/com/glsx/shop/bean/entity/shop/PlatformCustomer.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
bean
.
entity
.
shop
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
lombok.Data
;
import
org.hibernate.annotations.Table
;
import
org.springframework.data.annotation.CreatedDate
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @author glsx
* @date :Created in 2019/10/29 17:41
*/
@Data
@Table
(
appliesTo
=
"t_platform_customer"
,
comment
=
"客户管理表"
)
@Entity
(
name
=
"t_platform_customer"
)
@JsonIgnoreProperties
(
value
=
{
"hibernateLazyInitializer"
,
"handler"
})
public
class
PlatformCustomer
implements
Serializable
{
@Id
@GeneratedValue
private
Long
id
;
@CreatedDate
@Column
(
columnDefinition
=
"DATETIME COMMENT '创建时间 注册时间'"
)
private
Date
createTime
;
@Column
(
columnDefinition
=
"VARCHAR(32) COMMENT '客户名称'"
)
private
String
customerName
;
@Column
(
columnDefinition
=
"VARCHAR(32) COMMENT '联系人'"
)
private
String
contactPerson
;
@Column
(
columnDefinition
=
"VARCHAR(64) COMMENT '密码'"
)
private
String
password
;
@Column
(
columnDefinition
=
"VARCHAR(11) COMMENT '联系电话'"
)
private
String
contactNumber
;
@Column
(
columnDefinition
=
"VARCHAR(32) COMMENT '联系邮箱'"
)
private
String
contactEmail
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '省份 sys_area的id'"
)
private
Integer
province
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '城市 sys_area的id'"
)
private
Integer
city
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '区 sys_area的id'"
)
private
Integer
area
;
@Column
(
columnDefinition
=
"VARCHAR(128) COMMENT '详细地址'"
)
private
String
address
;
@Column
(
columnDefinition
=
"TINYINT(11) COMMENT '账号状态 0 停用 1 正常 2 待审核 3 审核未通过'"
)
private
Integer
status
;
@Column
(
columnDefinition
=
"VARCHAR(256) COMMENT '公钥'"
)
private
String
publicKey
;
@Column
(
columnDefinition
=
"VARCHAR(256) COMMENT '私钥'"
)
private
String
privateKey
;
@Column
(
columnDefinition
=
"VARCHAR(32) COMMENT '渠道号'"
)
private
String
channelNumber
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '创建人'"
)
private
Integer
createBy
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '更新人'"
)
private
Integer
updateBy
;
@Column
(
columnDefinition
=
"DATETIME COMMENT '更新时间'"
)
private
Date
updateTime
;
@Column
(
columnDefinition
=
"VARCHAR(50) COMMENT '备注'"
)
private
String
remark
;
}
shop-core/src/main/java/com/glsx/shop/bean/entity/shop/PlatformUser.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
bean
.
entity
.
shop
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
lombok.Data
;
import
org.hibernate.annotations.Table
;
import
org.springframework.data.annotation.CreatedDate
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* @author glsx
* @date :Created in 2019/10/29 17:41
*/
@Data
@Table
(
appliesTo
=
"t_platform_user"
,
comment
=
"用户管理表"
)
@Entity
(
name
=
"t_platform_user"
)
@JsonIgnoreProperties
(
value
=
{
"hibernateLazyInitializer"
,
"handler"
})
public
class
PlatformUser
implements
Serializable
{
@Id
@GeneratedValue
private
Long
id
;
@CreatedDate
@Column
(
columnDefinition
=
"DATETIME COMMENT '创建时间 注册时间'"
)
private
Date
createTime
;
@Column
(
columnDefinition
=
"VARCHAR(32) COMMENT '昵称,账号'"
)
private
String
nickname
;
@Column
(
columnDefinition
=
"VARCHAR(11) COMMENT '联系电话'"
)
private
String
contactNumber
;
@Column
(
columnDefinition
=
"VARCHAR(32) COMMENT '微信ID'"
)
private
String
wechatId
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '省份 sys_area的id'"
)
private
Integer
province
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '城市 sys_area的id'"
)
private
Integer
city
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '客户id t_platform_customer表的id'"
)
private
Integer
customerId
;
@Column
(
columnDefinition
=
"TINYINT(11) COMMENT '用户状态 0 注销 1 正常'"
)
private
Integer
status
;
@Column
(
columnDefinition
=
"INT(11) COMMENT 'APP 账户ID'"
)
private
Integer
appAccountId
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '涂鸦平台ID'"
)
private
Integer
tuYaId
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '创建人'"
)
private
Integer
createBy
;
@Column
(
columnDefinition
=
"INT(11) COMMENT '更新人'"
)
private
Integer
updateBy
;
@Column
(
columnDefinition
=
"DATETIME COMMENT '最后登陆时间'"
)
private
Date
lastLoginTime
;
@Column
(
columnDefinition
=
"DATETIME COMMENT '更新时间'"
)
private
Date
updateTime
;
@Column
(
columnDefinition
=
"VARCHAR(50) COMMENT '备注'"
)
private
String
remark
;
}
shop-core/src/main/java/com/glsx/shop/bean/exception/ApplicationExceptionEnum.java
View file @
ee708f0
...
@@ -12,6 +12,7 @@ public enum ApplicationExceptionEnum implements ServiceExceptionEnum {
...
@@ -12,6 +12,7 @@ public enum ApplicationExceptionEnum implements ServiceExceptionEnum {
TOKEN_EXPIRED
(
3002
,
"token 已过期"
),
TOKEN_EXPIRED
(
3002
,
"token 已过期"
),
REQUEST_ERROR
(
4001
,
"请求错误"
),
REQUEST_ERROR
(
4001
,
"请求错误"
),
PARAM_ERROR
(
4002
,
"参数错误"
),
PARAM_ERROR
(
4002
,
"参数错误"
),
PARAM_IS_EMPTY
(
4002
,
"参数不能为空"
),
FILE_UPLOAD_ERROR
(
5001
,
"文件上传错误"
),
FILE_UPLOAD_ERROR
(
5001
,
"文件上传错误"
),
FILE_DELETE_ERROR
(
5002
,
"文件删除错误"
),
FILE_DELETE_ERROR
(
5002
,
"文件删除错误"
),
...
...
shop-core/src/main/java/com/glsx/shop/bean/vo/JwtUser.java
View file @
ee708f0
...
@@ -4,6 +4,7 @@ import com.glsx.shop.bean.core.AuthorizationUser;
...
@@ -4,6 +4,7 @@ import com.glsx.shop.bean.core.AuthorizationUser;
import
com.glsx.shop.bean.entity.shop.ShopUser
;
import
com.glsx.shop.bean.entity.shop.ShopUser
;
import
com.glsx.shop.bean.entity.system.User
;
import
com.glsx.shop.bean.entity.system.User
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
/**
* 由于前后端使用一个基础模块:shop-core公用了一些权限处理代码,所以封装奔雷用来做前后端处理登录的用户信息实体类
* 由于前后端使用一个基础模块:shop-core公用了一些权限处理代码,所以封装奔雷用来做前后端处理登录的用户信息实体类
...
@@ -12,6 +13,7 @@ import lombok.Data;
...
@@ -12,6 +13,7 @@ import lombok.Data;
* @date :Created in 11/4/2019 8:16 PM
* @date :Created in 11/4/2019 8:16 PM
*/
*/
@Data
@Data
@NoArgsConstructor
public
class
JwtUser
{
public
class
JwtUser
{
public
static
int
MANAGER
=
0
;
public
static
int
MANAGER
=
0
;
public
static
int
FRONT_USER
=
1
;
public
static
int
FRONT_USER
=
1
;
...
...
shop-core/src/main/java/com/glsx/shop/bean/vo/front/Rets.java
View file @
ee708f0
...
@@ -23,6 +23,10 @@ public class Rets {
...
@@ -23,6 +23,10 @@ public class Rets {
return
new
Ret
<>(
code
,
msg
,
null
);
return
new
Ret
<>(
code
,
msg
,
null
);
}
}
public
static
Ret
<?>
failure
(
ApplicationExceptionEnum
exceptionEnum
)
{
return
new
Ret
<>(
exceptionEnum
.
getCode
(),
exceptionEnum
.
getMessage
(),
null
);
}
public
static
Ret
<?>
failure
(
ApplicationException
e
)
{
public
static
Ret
<?>
failure
(
ApplicationException
e
)
{
return
new
Ret
<>(
e
.
getCode
(),
e
.
getMessage
(),
null
);
return
new
Ret
<>(
e
.
getCode
(),
e
.
getMessage
(),
null
);
}
}
...
...
shop-core/src/main/java/com/glsx/shop/dao/shop/PlatformCustomerRepository.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
dao
.
shop
;
import
com.glsx.shop.bean.entity.shop.PlatformCustomer
;
import
com.glsx.shop.dao.BaseRepository
;
public
interface
PlatformCustomerRepository
extends
BaseRepository
<
PlatformCustomer
,
Long
>
{
PlatformCustomer
findByChannelNumber
(
String
channelNumber
);
}
shop-core/src/main/java/com/glsx/shop/dao/shop/PlatformUserRepository.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
dao
.
shop
;
import
com.glsx.shop.bean.entity.shop.PlatformUser
;
import
com.glsx.shop.dao.BaseRepository
;
public
interface
PlatformUserRepository
extends
BaseRepository
<
PlatformUser
,
Long
>
{
PlatformUser
findByContactNumber
(
String
contactNumber
);
}
shop-core/src/main/java/com/glsx/shop/service/shop/PlatformCustomerService.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
service
.
shop
;
import
com.glsx.shop.bean.entity.shop.PlatformCustomer
;
import
com.glsx.shop.dao.shop.PlatformCustomerRepository
;
import
com.glsx.shop.service.BaseService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
@Slf4j
@Service
public
class
PlatformCustomerService
extends
BaseService
<
PlatformCustomer
,
Long
,
PlatformCustomerRepository
>
{
@Autowired
private
PlatformCustomerRepository
platformCustomerRepository
;
public
PlatformCustomer
findByChannelNumber
(
String
channelNumber
){
return
platformCustomerRepository
.
findByChannelNumber
(
channelNumber
);
}
}
shop-core/src/main/java/com/glsx/shop/service/shop/PlatformUserService.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
service
.
shop
;
import
com.glsx.shop.bean.entity.shop.PlatformUser
;
import
com.glsx.shop.dao.shop.PlatformUserRepository
;
import
com.glsx.shop.service.BaseService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
@Slf4j
@Service
public
class
PlatformUserService
extends
BaseService
<
PlatformUser
,
Long
,
PlatformUserRepository
>
{
@Autowired
private
PlatformUserRepository
platformUserRepository
;
public
PlatformUser
findByContactNumber
(
String
contactNumber
)
{
return
platformUserRepository
.
findByContactNumber
(
contactNumber
);
}
}
shop-core/src/main/java/com/glsx/shop/utils/HttpUtils.java
0 → 100644
View file @
ee708f0
This diff is collapsed.
Click to expand it.
shop-core/src/main/java/com/glsx/shop/utils/SSLClient.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
utils
;
import
org.apache.http.conn.ClientConnectionManager
;
import
org.apache.http.conn.scheme.Scheme
;
import
org.apache.http.conn.scheme.SchemeRegistry
;
import
org.apache.http.conn.ssl.SSLSocketFactory
;
import
org.apache.http.impl.client.DefaultHttpClient
;
import
javax.net.ssl.SSLContext
;
import
javax.net.ssl.TrustManager
;
import
javax.net.ssl.X509TrustManager
;
import
java.security.cert.CertificateException
;
import
java.security.cert.X509Certificate
;
/**
* JAVA利用HttpClient进行HTTPS接口调用
* @author duanlq
* @createTime 2018-1-8
*/
@SuppressWarnings
(
"deprecation"
)
public
class
SSLClient
extends
DefaultHttpClient
{
public
SSLClient
()
throws
Exception
{
super
();
SSLContext
ctx
=
SSLContext
.
getInstance
(
"TLS"
);
X509TrustManager
tm
=
new
X509TrustManager
()
{
@Override
public
void
checkClientTrusted
(
X509Certificate
[]
chain
,
String
authType
)
throws
CertificateException
{
}
@Override
public
void
checkServerTrusted
(
X509Certificate
[]
chain
,
String
authType
)
throws
CertificateException
{
}
@Override
public
X509Certificate
[]
getAcceptedIssuers
()
{
return
null
;
}
};
ctx
.
init
(
null
,
new
TrustManager
[]{
tm
},
null
);
SSLSocketFactory
ssf
=
new
SSLSocketFactory
(
ctx
,
SSLSocketFactory
.
ALLOW_ALL_HOSTNAME_VERIFIER
);
ClientConnectionManager
ccm
=
this
.
getConnectionManager
();
SchemeRegistry
sr
=
ccm
.
getSchemeRegistry
();
sr
.
register
(
new
Scheme
(
"https"
,
443
,
ssf
));
}
}
shop-generator/src/main/resources/code/code.json
View file @
ee708f0
//代码生成配置,具体用法参考:http
:
//enilu.gitee.io/web-flash/ecosystem/code-generator.html
//代码生成配置,具体用法参考:http
:
//enilu.gitee.io/web-flash/ecosystem/code-generator.html
{
{
"codeConfig"
:
{
"codeConfig"
:
{
"type"
:
"com.glsx.
code
.CodeConfig"
,
"type"
:
"com.glsx.
shop
.CodeConfig"
,
"fields"
:
{
"fields"
:
{
entityModel
:
"shop-core"
,
entityModel
:
"shop-core"
,
daoModel
:
"shop-core"
,
daoModel
:
"shop-core"
,
...
...
shop-mobile-api/src/main/java/com/glsx/shop/mobile/controller/AppLoginController.java
0 → 100644
View file @
ee708f0
package
com
.
glsx
.
shop
.
mobile
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.glsx.shop.bean.entity.shop.PlatformCustomer
;
import
com.glsx.shop.bean.entity.shop.PlatformUser
;
import
com.glsx.shop.bean.exception.ApplicationExceptionEnum
;
import
com.glsx.shop.bean.vo.JwtUser
;
import
com.glsx.shop.bean.vo.front.Rets
;
import
com.glsx.shop.security.JwtUtil
;
import
com.glsx.shop.security.UserService
;
import
com.glsx.shop.service.shop.PlatformCustomerService
;
import
com.glsx.shop.service.shop.PlatformUserService
;
import
com.glsx.shop.utils.HttpUtils
;
import
com.glsx.shop.utils.StringUtil
;
import
com.glsx.shop.web.controller.BaseController
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
* @author think.wang
* @version 1.0.0
* @Title AppLoginController
* @Package com.glsx.shop.mobile.controller
* @Description AI精灵app登录controller
* @date 2020/12/19
*/
@RestController
@RequestMapping
(
"/appUser"
)
public
class
AppLoginController
extends
BaseController
{
@Value
(
"${tu_ya_sync_interface}"
)
private
String
syncUserUrl
;
@Autowired
private
PlatformUserService
platformUserService
;
@Autowired
private
UserService
userService
;
@Autowired
private
PlatformCustomerService
customerService
;
@RequestMapping
(
value
=
"/loginOrRegister"
,
method
=
RequestMethod
.
POST
)
public
Object
loginOrRegister
(
@RequestParam
String
mobile
,
@RequestParam
String
channel
)
{
if
(
StringUtil
.
isEmpty
(
mobile
)
||
StringUtil
.
isEmpty
(
channel
)){
return
Rets
.
failure
(
ApplicationExceptionEnum
.
PARAM_IS_EMPTY
);
}
Map
<
String
,
Object
>
result
=
new
HashMap
<>(
4
);
PlatformCustomer
customer
=
customerService
.
findByChannelNumber
(
channel
);
if
(
customer
==
null
){
return
Rets
.
failure
(
ApplicationExceptionEnum
.
PARAM_ERROR
);
}
JwtUser
jwtUser
=
new
JwtUser
();
//JWT用户信息封装
Date
now
=
new
Date
();
PlatformUser
user
=
platformUserService
.
findByContactNumber
(
mobile
);
if
(
user
!=
null
){
result
.
put
(
"tuYaId"
,
user
.
getTuYaId
());
jwtUser
.
setId
(
user
.
getId
());
jwtUser
.
setUserName
(
user
.
getNickname
());
user
.
setLastLoginTime
(
now
);
if
(
user
.
getStatus
().
equals
(
0
)){
//注销用户重新注册
user
.
setStatus
(
1
);
//用户正常
user
.
setUpdateTime
(
now
);
user
.
setCustomerId
(
customer
.
getId
().
intValue
());
}
platformUserService
.
update
(
user
);
}
else
{
//用户首次注册
PlatformUser
pUser
=
new
PlatformUser
();
pUser
.
setContactNumber
(
mobile
);
pUser
.
setCustomerId
(
customer
.
getId
().
intValue
());
pUser
.
setCreateTime
(
now
);
pUser
.
setCreateBy
(-
1
);
pUser
.
setLastLoginTime
(
now
);
Integer
tuYaId
=
this
.
syncUser
(
mobile
);
//同步用户到涂鸦
pUser
.
setTuYaId
(
tuYaId
);
PlatformUser
returnUser
=
platformUserService
.
insert
(
pUser
);
jwtUser
.
setId
(
returnUser
.
getId
());
result
.
put
(
"tuYaId"
,
tuYaId
);
}
//JWT信息缓存
jwtUser
.
setPassword
(
channel
);
String
token
=
userService
.
loginForToken
(
jwtUser
);
result
.
put
(
"token"
,
token
);
return
Rets
.
success
(
result
);
}
private
Integer
syncUser
(
String
mobile
){
JSONObject
object
=
new
JSONObject
();
object
.
put
(
"schema"
,
"glsx"
);
object
.
put
(
"country_code"
,
"86"
);
object
.
put
(
"username"
,
mobile
);
object
.
put
(
"username_type"
,
"1"
);
// object.put("nick_name", "wnb");
// object.put("password", "dsadada");
try
{
logger
.
info
(
"请求注册涂鸦平台接口地址:{}"
,
syncUserUrl
);
String
result
=
HttpUtils
.
postJson
(
syncUserUrl
,
object
.
toJSONString
());
logger
.
info
(
"注册涂鸦平台返回结果:{}"
,
result
);
if
(
StringUtils
.
isNotEmpty
(
result
))
{
JSONObject
json
=
JSON
.
parseObject
(
result
);
if
(
json
.
containsKey
(
"result"
))
{
JSONObject
jsonObject
=
json
.
getJSONObject
(
"result"
);
return
jsonObject
.
getInteger
(
"uid"
);
}
}
}
catch
(
Exception
e
)
{
logger
.
error
(
"同步涂鸦平台失败:{}"
,
e
);
}
return
-
1
;
}
/**
* 注销用户
*
* @return
*/
@RequestMapping
(
value
=
"/logout"
,
method
=
{
RequestMethod
.
POST
,
RequestMethod
.
GET
})
public
Object
logout
()
{
String
token
=
getToken
();
Long
userId
=
JwtUtil
.
getUserId
(
token
);
logger
.
info
(
"注销用户id: {}"
,
userId
);
PlatformUser
user
=
platformUserService
.
get
(
userId
);
user
.
setStatus
(
0
);
//设置用户注销状态
platformUserService
.
update
(
user
);
return
Rets
.
success
();
}
}
shop-mobile-api/src/main/resources/application-dev.properties
View file @
ee708f0
...
@@ -26,3 +26,5 @@ fdfs.pool.max-wait-millis=500
...
@@ -26,3 +26,5 @@ fdfs.pool.max-wait-millis=500
fdfs.tracker-
list
=
192.168.3.222:22122
fdfs.tracker-
list
=
192.168.3.222:22122
fdfs_tracker_nginx_domain
=
http://qcimg01.glsx.net:7060
fdfs_tracker_nginx_domain
=
http://qcimg01.glsx.net:7060
#fdfs_tracker_nginx_port=80
#fdfs_tracker_nginx_port=80
#\u6D82\u9E26\u540C\u6B65\u7528\u6237\u63A5\u53E3
tu_ya_sync_interface
=
http://192.168.3.137:8091/smartApi/sync_user
Write
Preview
Markdown
is supported
Attach a file
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 post a comment