Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cloud-yunqueyilian
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.wechat
pica-cloud-yunqueyilian
提交
34f922e0
提交
34f922e0
编写于
10月 16, 2020
作者:
yongbo.wang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'release' into 'master'
云鹊医联测试配置 See merge request
!12
上级
33e35b75
ff7b3314
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
13 行删除
+13
-13
MenuManagerServiceImpl.java
...queyilian/server/service/impl/MenuManagerServiceImpl.java
+11
-11
bootstrap-test1.properties
server/src/main/resources/bootstrap-test1.properties
+2
-2
未找到文件。
server/src/main/java/com/pica/cloud/wechat/yunqueyilian/server/service/impl/MenuManagerServiceImpl.java
浏览文件 @
34f922e0
...
@@ -24,7 +24,7 @@ public class MenuManagerServiceImpl {
...
@@ -24,7 +24,7 @@ public class MenuManagerServiceImpl {
public
static
void
main
(
String
[]
args
)
throws
IOException
{
public
static
void
main
(
String
[]
args
)
throws
IOException
{
// CloudPropertiesUtil.read("dev");
// CloudPropertiesUtil.read("dev");
CloudPropertiesUtil
.
read
(
"
pro
"
);
CloudPropertiesUtil
.
read
(
"
test1
"
);
AccessToken
accessToken
=
WeChatToolUtil
.
getAccessToken
(
CloudPropertiesUtil
.
getValue
(
"AppID"
),
CloudPropertiesUtil
.
getValue
(
"AppSecret"
));
AccessToken
accessToken
=
WeChatToolUtil
.
getAccessToken
(
CloudPropertiesUtil
.
getValue
(
"AppID"
),
CloudPropertiesUtil
.
getValue
(
"AppSecret"
));
Boolean
flag
=
WeChatToolUtil
.
createMenu
(
getMenu
(),
accessToken
.
getAccess_token
());
Boolean
flag
=
WeChatToolUtil
.
createMenu
(
getMenu
(),
accessToken
.
getAccess_token
());
if
(
flag
)
{
if
(
flag
)
{
...
@@ -42,18 +42,18 @@ public class MenuManagerServiceImpl {
...
@@ -42,18 +42,18 @@ public class MenuManagerServiceImpl {
*/
*/
private
static
Menu
getMenu
()
throws
UnsupportedEncodingException
{
private
static
Menu
getMenu
()
throws
UnsupportedEncodingException
{
//test1
//test1
//
String btn11Url = "https://test1-yunqueyilian.yunqueyi.com/message";
String
btn11Url
=
"https://test1-yunqueyilian.yunqueyi.com/message"
;
//
String btn21Url = "http://mp.weixin.qq.com/mp/homepage?__biz=MzIzNjM5NDA1OQ==&hid=2&sn=f52aa8659aa75f32aae5ea62d23e64ca&scene=18#wechat_redirect";
String
btn21Url
=
"http://mp.weixin.qq.com/mp/homepage?__biz=MzIzNjM5NDA1OQ==&hid=2&sn=f52aa8659aa75f32aae5ea62d23e64ca&scene=18#wechat_redirect"
;
//
String btn31Url = "https://test1-yunqueyilian.yunqueyi.com/goBind";
String
btn31Url
=
"https://test1-yunqueyilian.yunqueyi.com/goBind"
;
//
String btn32Url = "https://test1-yunqueyilian.yunqueyi.com/applyIndex";
String
btn32Url
=
"https://test1-yunqueyilian.yunqueyi.com/applyIndex"
;
//
String btn33Url = "https://test1-yunqueyilian.yunqueyi.com/followUp";
String
btn33Url
=
"https://test1-yunqueyilian.yunqueyi.com/followUp"
;
//pro
//pro
String
btn11Url
=
"https://yunqueyilian.yunqueyi.com/message"
;
//
String btn11Url = "https://yunqueyilian.yunqueyi.com/message";
String
btn21Url
=
"http://mp.weixin.qq.com/mp/homepage?__biz=MzIzNjM5NDA1OQ==&hid=2&sn=f52aa8659aa75f32aae5ea62d23e64ca&scene=18#wechat_redirect"
;
//
String btn21Url = "http://mp.weixin.qq.com/mp/homepage?__biz=MzIzNjM5NDA1OQ==&hid=2&sn=f52aa8659aa75f32aae5ea62d23e64ca&scene=18#wechat_redirect";
String
btn31Url
=
"https://yunqueyilian.yunqueyi.com/goBind"
;
//
String btn31Url = "https://yunqueyilian.yunqueyi.com/goBind";
String
btn32Url
=
"https://yunqueyilian.yunqueyi.com/applyIndex"
;
//
String btn32Url = "https://yunqueyilian.yunqueyi.com/applyIndex";
String
btn33Url
=
"https://yunqueyilian.yunqueyi.com/followUp"
;
//
String btn33Url = "https://yunqueyilian.yunqueyi.com/followUp";
String
utl_end
=
"&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect"
;
String
utl_end
=
"&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect"
;
...
...
server/src/main/resources/bootstrap-test1.properties
浏览文件 @
34f922e0
...
@@ -25,8 +25,8 @@ spring.rabbitmq.username=appuser
...
@@ -25,8 +25,8 @@ spring.rabbitmq.username=appuser
spring.rabbitmq.password
=
AqLfvyWOvLQEUzdI
spring.rabbitmq.password
=
AqLfvyWOvLQEUzdI
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F \u5411\u6587
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F \u5411\u6587
AppID
=
wx
cf79dbdc24cb684b
AppID
=
wx
e6f2ed769213ea96
AppSecret
=
febe33eec4d0c05d62a2393be35c35c4
AppSecret
=
e5c46c9983bb5b48917ab29473c96f8d
#local settings
#local settings
#feign.hystrix.enabled=true
#feign.hystrix.enabled=true
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录