Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
fmboot
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
a30d7c24
由
张雷
编写于
2023-05-24 23:32:51 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
奥体项目实时数据接口修改
1 个父辈
7a86522a
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
259 行增加
和
24 行删除
fm-product/src/main/java/com/skua/modules/business/controller/OlympicCenterController.java
fm-product/src/main/java/com/skua/modules/business/mapper/WhatStructDataMapper.java
fm-product/src/main/java/com/skua/modules/business/mapper/xml/WhatStructDataMapper.xml
fm-product/src/main/java/com/skua/modules/business/service/IOlympicCenterService.java
fm-product/src/main/java/com/skua/modules/business/service/impl/OlympicCenterServiceImpl.java
fm-product/src/main/java/com/skua/modules/location/controller/UserLocationController.java
fm-product/src/main/java/com/skua/modules/location/service/ILocationService.java
fm-product/src/main/java/com/skua/modules/location/service/impl/BkyhLocationServiceImpl.java
fm-product/src/main/java/com/skua/modules/location/service/impl/YwLocationServiceImpl.java
fm-product/src/main/java/com/skua/modules/location/vo/QueryParams.java
fm-product/src/main/java/com/skua/modules/monitor/service/IFmPgQueryService.java
fm-product/src/main/java/com/skua/modules/monitor/service/impl/FmPgQueryServiceImpl.java
fm-system/pom.xml
fm-system/src/main/resources/application-dev.yml
fm-system/src/main/resources/application-prod.yml
fm-system/src/main/resources/application-what.yml
fm-system/src/main/resources/application-yw.yml
fm-product/src/main/java/com/skua/modules/business/controller/OlympicCenterController.java
查看文件 @
a30d7c2
...
...
@@ -39,6 +39,16 @@ public class OlympicCenterController {
return
result
;
}
@ApiOperation
(
value
=
"获取整体实时数据"
,
notes
=
"获取整体实时数据"
)
@GetMapping
(
value
=
"/getRealTimeDataNew"
)
public
Result
<
Map
<
String
,
Object
>>
getRealTimeDataNew
(
String
sourceType
){
Result
<
Map
<
String
,
Object
>>
result
=
new
Result
<
Map
<
String
,
Object
>>();
Map
<
String
,
Object
>
map
=
olympicCenterService
.
getRealTimeDataNew
(
sourceType
);
result
.
setResult
(
map
);
result
.
setSuccess
(
true
);
return
result
;
}
@ApiOperation
(
value
=
"获取整体实时数据给UE"
,
notes
=
"获取整体实时数据给UE"
)
@GetMapping
(
value
=
"/getRealTimeDataToUE"
)
public
Result
<
Map
<
String
,
Object
>>
getRealTimeDataToUE
(){
...
...
@@ -49,6 +59,16 @@ public class OlympicCenterController {
return
result
;
}
@ApiOperation
(
value
=
"获取整体实时数据给UE"
,
notes
=
"获取整体实时数据给UE"
)
@GetMapping
(
value
=
"/getRealTimeDataToUENew"
)
public
Result
<
Map
<
String
,
Object
>>
getRealTimeDataToUENew
(){
Result
<
Map
<
String
,
Object
>>
result
=
new
Result
<
Map
<
String
,
Object
>>();
Map
<
String
,
Object
>
map
=
olympicCenterService
.
getRealTimeDataToUENew
();
result
.
setResult
(
map
);
result
.
setSuccess
(
true
);
return
result
;
}
/**
* 获取泵站指标历史趋势曲线
* @param field ssll:瞬时流量 ljll:累计流量 rll:日流量
...
...
@@ -108,4 +128,15 @@ public class OlympicCenterController {
return
result
;
}
@ApiOperation
(
value
=
"获取趋势图"
,
notes
=
"获取趋势图"
)
@GetMapping
(
value
=
"/getPressureChartNew"
)
public
Result
<
List
<
EchartResult
>>
getPressureChartNew
(
String
equipId
,
String
type
){
Result
<
List
<
EchartResult
>>
result
=
new
Result
<
List
<
EchartResult
>>();
List
<
EchartResult
>
list
=
new
ArrayList
<
EchartResult
>();
list
=
olympicCenterService
.
getPressureChartNew
(
equipId
,
type
);
result
.
setResult
(
list
);
result
.
setSuccess
(
true
);
return
result
;
}
}
...
...
fm-product/src/main/java/com/skua/modules/business/mapper/WhatStructDataMapper.java
查看文件 @
a30d7c2
...
...
@@ -15,4 +15,10 @@ public interface WhatStructDataMapper {
List
<
WhatStructData
>
getListForUE
();
WhatStructData
getOneById
(
@Param
(
"id"
)
String
id
);
List
<
WhatStructData
>
getListByType
(
@Param
(
"sourceType"
)
String
sourceType
);
List
<
WhatStructData
>
getDataList
(
@Param
(
"equipId"
)
String
equipId
);
List
<
WhatStructData
>
getListForUENew
();
}
...
...
fm-product/src/main/java/com/skua/modules/business/mapper/xml/WhatStructDataMapper.xml
查看文件 @
a30d7c2
...
...
@@ -14,4 +14,23 @@
select * from what_struct_data where id = #{id} limit 1
</select>
<select
id=
"getListByType"
resultType=
"com.skua.modules.business.entity.WhatStructData"
>
select * from what_struct_data_bak
where 1=1
<if
test=
"sourceType!=null and sourceType!=''"
>
and system_code = #{sourceType}
</if>
order by monitor_sort
</select>
<select
id=
"getDataList"
resultType=
"com.skua.modules.business.entity.WhatStructData"
>
select * from what_struct_data_bak
where id LIKE CONCAT( #{equipId},'%')
order by monitor_sort
</select>
<select
id=
"getListForUENew"
resultType=
"com.skua.modules.business.entity.WhatStructData"
>
select * from what_struct_data_bak order by monitor_sort
</select>
</mapper>
\ No newline at end of file
...
...
fm-product/src/main/java/com/skua/modules/business/service/IOlympicCenterService.java
查看文件 @
a30d7c2
...
...
@@ -21,4 +21,10 @@ public interface IOlympicCenterService {
Map
<
String
,
Object
>
getBzRealTimeData
(
String
sourceType
);
Map
<
String
,
Object
>
getRealTimeDataToUE
();
Map
<
String
,
Object
>
getRealTimeDataNew
(
String
sourceType
);
List
<
EchartResult
>
getPressureChartNew
(
String
equipId
,
String
type
);
Map
<
String
,
Object
>
getRealTimeDataToUENew
();
}
...
...
fm-product/src/main/java/com/skua/modules/business/service/impl/OlympicCenterServiceImpl.java
查看文件 @
a30d7c2
此文件的差异被折叠,
点击展开。
fm-product/src/main/java/com/skua/modules/location/controller/UserLocationController.java
查看文件 @
a30d7c2
...
...
@@ -6,6 +6,7 @@ import com.skua.modules.location.UserLocationFactory;
import
com.skua.modules.location.entity.UserBaseInfo
;
import
com.skua.modules.location.entity.UserLocation
;
import
com.skua.modules.location.service.ILocationService
;
import
com.skua.modules.location.vo.QueryParams
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -14,7 +15,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@Slf4j
@Api
(
tags
=
"人员定位系统对接"
)
...
...
@@ -26,12 +29,12 @@ public class UserLocationController {
@AutoLog
(
value
=
"义乌人员定位-获取所有人员列表"
)
@ApiOperation
(
value
=
"义乌人员定位-获取所有人员列表"
,
notes
=
"义乌人员定位-获取所有人员列表"
)
@GetMapping
(
value
=
"/yw/getAllUser"
)
public
Result
<
List
<
UserBaseInfo
>>
getAllUserYW
(
String
userName
)
{
Result
<
List
<
UserBaseInfo
>>
result
=
new
Result
<
List
<
UserBaseInfo
>>();
List
<
UserBaseInfo
>
list
=
new
ArrayList
<>();
public
Result
<
Map
<
String
,
Object
>>
getAllUserYW
(
QueryParams
queryParams
)
{
Result
<
Map
<
String
,
Object
>>
result
=
new
Result
<
Map
<
String
,
Object
>>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
ILocationService
locationService
=
UserLocationFactory
.
getLocationService
(
"YW"
);
list
=
locationService
.
getAllUser
(
userName
);
result
.
setResult
(
list
);
map
=
locationService
.
getAllUser
(
queryParams
);
result
.
setResult
(
map
);
result
.
setSuccess
(
true
);
return
result
;
}
...
...
@@ -66,12 +69,12 @@ public class UserLocationController {
@AutoLog
(
value
=
"余杭人员定位-获取所有人员列表"
)
@ApiOperation
(
value
=
"余杭人员定位-获取所有人员列表"
,
notes
=
"余杭人员定位-获取所有人员列表"
)
@GetMapping
(
value
=
"/yh/getAllUser"
)
public
Result
<
List
<
UserBaseInfo
>>
getAllUserBKYH
(
String
userName
)
{
Result
<
List
<
UserBaseInfo
>>
result
=
new
Result
<
List
<
UserBaseInfo
>>();
List
<
UserBaseInfo
>
list
=
new
ArrayList
<>();
public
Result
<
Map
<
String
,
Object
>>
getAllUserBKYH
(
QueryParams
queryParams
)
{
Result
<
Map
<
String
,
Object
>>
result
=
new
Result
<
Map
<
String
,
Object
>>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
ILocationService
locationService
=
UserLocationFactory
.
getLocationService
(
"BKYH"
);
list
=
locationService
.
getAllUser
(
userName
);
result
.
setResult
(
list
);
map
=
locationService
.
getAllUser
(
queryParams
);
result
.
setResult
(
map
);
result
.
setSuccess
(
true
);
return
result
;
}
...
...
fm-product/src/main/java/com/skua/modules/location/service/ILocationService.java
查看文件 @
a30d7c2
...
...
@@ -2,8 +2,10 @@ package com.skua.modules.location.service;
import
com.skua.modules.location.entity.UserBaseInfo
;
import
com.skua.modules.location.entity.UserLocation
;
import
com.skua.modules.location.vo.QueryParams
;
import
java.util.List
;
import
java.util.Map
;
public
interface
ILocationService
{
...
...
@@ -11,7 +13,7 @@ public interface ILocationService {
List
<
UserLocation
>
getUserHistory
(
String
deviceCode
,
String
startTime
,
String
endTime
);
List
<
UserBaseInfo
>
getAllUser
(
String
userName
);
Map
<
String
,
Object
>
getAllUser
(
QueryParams
queryParams
);
}
...
...
fm-product/src/main/java/com/skua/modules/location/service/impl/BkyhLocationServiceImpl.java
查看文件 @
a30d7c2
...
...
@@ -6,6 +6,7 @@ import com.skua.modules.location.entity.*;
import
com.skua.modules.location.service.ILocationService
;
import
com.skua.modules.location.util.ChangeLocationUtils
;
import
com.skua.modules.location.util.MD5Util
;
import
com.skua.modules.location.vo.QueryParams
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.stereotype.Service
;
...
...
@@ -108,8 +109,9 @@ public class BkyhLocationServiceImpl implements ILocationService {
}
@Override
public
List
<
UserBaseInfo
>
getAllUser
(
String
userName
)
{
public
Map
<
String
,
Object
>
getAllUser
(
QueryParams
queryParams
)
{
List
<
UserBaseInfo
>
list
=
new
ArrayList
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
String
post
=
getBuildingAllInfo
();
JSONObject
json
=
JSONObject
.
parseObject
(
JSONObject
.
parseObject
(
post
).
get
(
"data"
).
toString
());
List
<
UserBaseInfoBkyhResult
>
userList
=
JSONObject
.
parseArray
(
json
.
get
(
"devices"
).
toString
(),
UserBaseInfoBkyhResult
.
class
);
...
...
@@ -131,7 +133,8 @@ public class BkyhLocationServiceImpl implements ILocationService {
userBaseInfo
.
setUserName
(
userBaseInfoBkyhResult
.
getName
());
list
.
add
(
userBaseInfo
);
}
return
list
;
map
.
put
(
"list"
,
list
);
return
map
;
}
}
...
...
fm-product/src/main/java/com/skua/modules/location/service/impl/YwLocationServiceImpl.java
查看文件 @
a30d7c2
...
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import
com.skua.modules.location.entity.*
;
import
com.skua.modules.location.service.ILocationService
;
import
com.skua.modules.location.util.ChangeLocationUtils
;
import
com.skua.modules.location.vo.QueryParams
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
...
...
@@ -94,17 +95,19 @@ public class YwLocationServiceImpl implements ILocationService {
}
@Override
public
List
<
UserBaseInfo
>
getAllUser
(
String
userName
)
{
public
Map
<
String
,
Object
>
getAllUser
(
QueryParams
queryParams
)
{
List
<
UserBaseInfo
>
list
=
new
ArrayList
<>();
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"username"
,
username
);
map
.
put
(
"password"
,
password
);
map
.
put
(
"page"
,
1
);
map
.
put
(
"rows"
,
1000
);
map
.
put
(
"emp"
,
userName
);
String
post
=
HttpUtil
.
get
(
url
+
"open/information/getEmp.do"
,
map
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
pmap
=
new
HashMap
<>();
pmap
.
put
(
"username"
,
username
);
pmap
.
put
(
"password"
,
password
);
pmap
.
put
(
"page"
,
1
);
pmap
.
put
(
"rows"
,
1000
);
pmap
.
put
(
"emp"
,
queryParams
.
getUserName
());
String
post
=
HttpUtil
.
get
(
url
+
"open/information/getEmp.do"
,
pmap
);
JSONObject
json
=
JSONObject
.
parseObject
(
JSONObject
.
parseObject
(
post
).
get
(
"data"
).
toString
());
List
<
UserBaseInfoYwResult
>
userList
=
JSONObject
.
parseArray
(
json
.
get
(
"rows"
).
toString
(),
UserBaseInfoYwResult
.
class
);
List
<
Map
>
onlineList
=
getOnLineList
();
for
(
UserBaseInfoYwResult
userBaseInfoYwResult
:
userList
)
{
UserBaseInfo
userBaseInfo
=
new
UserBaseInfo
();
userBaseInfo
.
setDeviceCode
(
userBaseInfoYwResult
.
getDeviceno
());
...
...
@@ -114,6 +117,19 @@ public class YwLocationServiceImpl implements ILocationService {
userBaseInfo
.
setUserStatus
(
"0"
);
list
.
add
(
userBaseInfo
);
}
map
.
put
(
"list"
,
list
);
map
.
put
(
"onlineCount"
,
onlineList
.
size
());
return
map
;
}
public
List
<
Map
>
getOnLineList
(){
List
<
Map
>
list
=
new
ArrayList
<>();
HashMap
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"username"
,
username
);
map
.
put
(
"password"
,
password
);
String
post
=
HttpUtil
.
get
(
url
+
"/open/information/getRealInformation.do"
,
map
);
JSONObject
json
=
JSONObject
.
parseObject
(
JSONObject
.
parseObject
(
post
).
get
(
"data"
).
toString
());
list
=
JSONObject
.
parseArray
(
json
.
get
(
"list"
).
toString
(),
Map
.
class
);
return
list
;
}
}
...
...
fm-product/src/main/java/com/skua/modules/location/vo/QueryParams.java
0 → 100644
查看文件 @
a30d7c2
package
com
.
skua
.
modules
.
location
.
vo
;
import
lombok.Data
;
@Data
public
class
QueryParams
{
/**人员名称*/
private
String
userName
;
/**在线状态*/
private
String
userStatus
;
}
fm-product/src/main/java/com/skua/modules/monitor/service/IFmPgQueryService.java
0 → 100644
查看文件 @
a30d7c2
package
com
.
skua
.
modules
.
monitor
.
service
;
import
java.util.List
;
import
java.util.Map
;
/**
* PG实时数据查询接口
*/
public
interface
IFmPgQueryService
{
List
<
Map
<
String
,
Object
>>
queryFactoryMonitorFromRealTimeData
(
String
factoryId
,
String
fields
);
}
fm-product/src/main/java/com/skua/modules/monitor/service/impl/FmPgQueryServiceImpl.java
0 → 100644
查看文件 @
a30d7c2
package
com
.
skua
.
modules
.
monitor
.
service
.
impl
;
import
com.skua.core.context.SpringContextUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.jdbc.core.JdbcTemplate
;
import
org.springframework.stereotype.Service
;
import
com.skua.modules.monitor.service.IFmPgQueryService
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
/**
* 数据指标信息表
*/
@Service
public
class
FmPgQueryServiceImpl
implements
IFmPgQueryService
{
@Override
public
List
<
Map
<
String
,
Object
>>
queryFactoryMonitorFromRealTimeData
(
String
factoryId
,
String
fields
)
{
String
[]
factoryIdArray
=
factoryId
.
split
(
","
);
String
sqlPart
=
""
;
for
(
String
id
:
factoryIdArray
)
{
sqlPart
=
sqlPart
+
",'"
+
id
+
"'"
;
}
sqlPart
=
sqlPart
.
substring
(
1
);
JdbcTemplate
pgDb
=
(
JdbcTemplate
)
SpringContextUtils
.
getBean
(
"pg-db"
);
List
<
Map
<
String
,
Object
>>
result
=
new
ArrayList
<
Map
<
String
,
Object
>>();
JdbcTemplate
masterDB
=
(
JdbcTemplate
)
SpringContextUtils
.
getBean
(
"master"
);
List
<
Map
<
String
,
Object
>>
factoryDesign
=
masterDB
.
queryForList
(
"select * from sys_factory_device where factory_id in ("
+
sqlPart
+
")"
);
if
(
factoryDesign
==
null
||
factoryDesign
.
size
()==
0
)
{
return
result
;
}
StringBuilder
str
=
new
StringBuilder
();
String
[]
fieldsArr
=
fields
.
split
(
","
);
for
(
int
i
=
0
;
i
<
fieldsArr
.
length
;
++
i
){
if
(!
StringUtils
.
isEmpty
(
fieldsArr
[
i
])&&!
fieldsArr
[
i
].
equals
(
"null"
))
{
str
.
append
(
"'"
+
fieldsArr
[
i
]+
"'"
).
append
(
","
);
}
}
if
(
fieldsArr
.
length
>
0
){
str
.
append
(
"''"
);
}
else
{
return
result
;
}
String
deviceIds
=
""
;
for
(
Map
<
String
,
Object
>
map:
factoryDesign
)
{
deviceIds
=
deviceIds
+
",'"
+
map
.
get
(
"device_id"
)+
"'"
;
}
deviceIds
=
deviceIds
.
substring
(
1
);
Date
d
=
new
Date
();
//获取时间
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
long
todayTimeStemp
=
gettimeStemp
(
sdf
.
format
(
d
)+
" 00:00:00"
,
"yyyy-MM-dd"
);
//获取pg数据库时间,向前推采集频率的三倍时间,做数据容错
String
sql
=
"select ts as time,nm as monitorId,v as monitorValue from realtimedata where nm in("
+
str
.
toString
()+
") and factoryname in ("
+
deviceIds
+
")"
;
List
<
Map
<
String
,
Object
>>
monitorList
=
pgDb
.
queryForList
(
sql
);
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
if
(
monitorList
.
size
()
>
0
){
map
.
put
(
"time"
,
monitorList
.
get
(
0
).
get
(
"time"
).
toString
());
for
(
int
m
=
0
;
m
<
monitorList
.
size
();
m
++)
{
if
(
Long
.
parseLong
(
monitorList
.
get
(
m
).
get
(
"time"
).
toString
())
>
todayTimeStemp
){
map
.
put
(
monitorList
.
get
(
m
).
get
(
"monitorId"
).
toString
(),
monitorList
.
get
(
m
).
get
(
"monitorValue"
));
}
else
{
map
.
put
(
monitorList
.
get
(
m
).
get
(
"monitorId"
).
toString
(),
0.00
);
}
}
result
.
add
(
map
);
}
else
{
return
result
;
}
return
result
;
}
public
static
void
main
(
String
[]
args
)
{
Date
d
=
new
Date
();
//获取时间
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
System
.
out
.
println
(
gettimeStemp
(
sdf
.
format
(
d
)+
" 00:00:00"
,
"yyyy-MM-dd"
));
}
public
static
long
gettimeStemp
(
String
time
,
String
format
)
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
if
(!
""
.
equals
(
format
))
{
simpleDateFormat
=
new
SimpleDateFormat
(
format
);
}
long
timeStemp
=
0
;
try
{
Date
date
=
simpleDateFormat
.
parse
(
time
);
timeStemp
=
date
.
getTime
();
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
return
timeStemp
/
1000
;
}
}
fm-system/pom.xml
查看文件 @
a30d7c2
...
...
@@ -57,7 +57,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- online form -->
</dependencies>
<build>
...
...
fm-system/src/main/resources/application-dev.yml
查看文件 @
a30d7c2
...
...
@@ -185,3 +185,10 @@ skua :
#cas单点登录
cas
:
prefixUrl
:
http://cas.example.org:8443/cas
#微信相关
wx
:
# 公众号
app-id
:
wxbdc5610cc59c1631
app-secret
:
xxxxxxxxxxxxxxxxxxxxxxx
redirect-url
:
https://passport.yhd.com/wechat/callback.do
...
...
fm-system/src/main/resources/application-prod.yml
查看文件 @
a30d7c2
...
...
@@ -98,9 +98,9 @@ spring:
driver-class-name
:
com.mysql.jdbc.Driver
# 多数据源配置
pg-db
:
url
:
jdbc:postgresql://
120.24.205.69
:10086/postgres?useUnicode=true&characterEncoding=UTF8
url
:
jdbc:postgresql://
47.104.99.86
:10086/postgres?useUnicode=true&characterEncoding=UTF8
username
:
postgres
password
:
server_2021_%Jksc
password
:
JKjnf9713xt
driver-class-name
:
org.postgresql.Driver
#redis 配置
redis
:
...
...
@@ -186,3 +186,10 @@ skua :
#cas单点登录
cas
:
prefixUrl
:
http://cas.example.org:8443/cas
#微信相关
wx
:
# 公众号
app-id
:
wxbdc5610cc59c1631
app-secret
:
xxxxxxxxxxxxxxxxxxxxxxx
redirect-url
:
https://passport.yhd.com/wechat/callback.do
...
...
fm-system/src/main/resources/application-what.yml
查看文件 @
a30d7c2
...
...
@@ -186,3 +186,10 @@ skua :
#cas单点登录
cas
:
prefixUrl
:
http://cas.example.org:8443/cas
#微信相关
wx
:
# 公众号
app-id
:
wxbdc5610cc59c1631
app-secret
:
xxxxxxxxxxxxxxxxxxxxxxx
redirect-url
:
https://passport.yhd.com/wechat/callback.do
...
...
fm-system/src/main/resources/application-yw.yml
查看文件 @
a30d7c2
...
...
@@ -186,3 +186,9 @@ skua :
#cas单点登录
cas
:
prefixUrl
:
http://cas.example.org:8443/cas
#微信相关
wx
:
# 公众号
app-id
:
wxbdc5610cc59c1631
app-secret
:
xxxxxxxxxxxxxxxxxxxxxxx
redirect-url
:
https://passport.yhd.com/wechat/callback.do
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论