提交 5109fc0f 编写于 作者: yongbo.wang's avatar yongbo.wang

textMessage

上级 9907f20c
......@@ -7,6 +7,7 @@ import com.pica.cloud.foundation.utils.utils.JsonUtil;
import com.pica.cloud.foundation.utils.utils.StringUtil;
import com.pica.cloud.wechat.yunqueyilian.common.CommonUtils;
import com.pica.cloud.wechat.yunqueyilian.common.Constants;
import com.pica.cloud.wechat.yunqueyilian.common.constants.WeChatConstants;
import com.pica.cloud.wechat.yunqueyilian.common.req.TextMessage;
import com.pica.cloud.wechat.yunqueyilian.server.client.IWechatsServiceClient;
import com.pica.cloud.wechat.yunqueyilian.server.entity.PWechatUser;
......@@ -149,8 +150,8 @@ public class CoreServiceImpl implements CoreService {
wechatUserMapper.updateById(wechatUser);
}
String url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1ee39338694703b0"
+ "&redirect_uri=https://test1-yunqueyilian.yunqueyi.com/goBind"
String url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + WeChatConstants.APP_ID
+ "&redirect_uri=" + WeChatConstants.WECHAT_URL + "/goBind"
+ "&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect";
String resContent = "您好!欢迎关注云鹊医联公众号。\n绑定个人资料后可以预约挂号、查看随访记录;还可以收到公众号推送患教和通知。\n<a href='" + url + "'>立即去绑定</a>";
......
......@@ -24,17 +24,17 @@ spring.rabbitmq.port=5672
spring.rabbitmq.username=appuser
spring.rabbitmq.password=AqLfvyWOvLQEUzdI
#微信登录信息
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F
AppID=wx1ee39338694703b0
AppSecret=69e2c741d0cf8fd7eb8877ab9f3a236b
#local settings
feign.hystrix.enabled=true
#开启hystrix请求超时机制
#\u5F00\u542Fhystrix\u8BF7\u6C42\u8D85\u65F6\u673A\u5236
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
#请求连接的超时时间
#\u8BF7\u6C42\u8FDE\u63A5\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ConnectTimeout=6000
#请求处理的超时时间
#\u8BF7\u6C42\u5904\u7406\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ReadTimeout=6000
management.security.enabled=false
......@@ -43,3 +43,6 @@ spring.zipkin.base-url=http://192.168.110.124:7895
spring.sleuth.sampler.percentage=1.0
logging.config=classpath:log4j2-dev.xml
wechat_url=https://test1-yunqueyilian.yunqueyi.com
\ No newline at end of file
......@@ -24,17 +24,17 @@ spring.rabbitmq.port=5672
spring.rabbitmq.username=appuser
spring.rabbitmq.password=AqLfvyWOvLQEUzdI
#微信登录信息
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F
AppID=wxcf79dbdc24cb684b
AppSecret=febe33eec4d0c05d62a2393be35c35c4
#local settings
feign.hystrix.enabled=true
#开启hystrix请求超时机制
#\u5F00\u542Fhystrix\u8BF7\u6C42\u8D85\u65F6\u673A\u5236
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
#请求连接的超时时间
#\u8BF7\u6C42\u8FDE\u63A5\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ConnectTimeout=6000
#请求处理的超时时间
#\u8BF7\u6C42\u5904\u7406\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ReadTimeout=6000
management.security.enabled=true
......@@ -42,4 +42,6 @@ management.security.enabled=true
spring.zipkin.base-url=http://172.19.137.19:7895
spring.sleuth.sampler.percentage=1.0
logging.config=classpath:log4j2-prod.xml
\ No newline at end of file
logging.config=classpath:log4j2-prod.xml
wechat_url=https://yunqueyilian.yunqueyi.com
\ No newline at end of file
......@@ -24,17 +24,17 @@ spring.rabbitmq.port=5672
spring.rabbitmq.username=appuser
spring.rabbitmq.password=AqLfvyWOvLQEUzdI
#微信登录信息
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F
AppID=wx1ee39338694703b0
AppSecret=69e2c741d0cf8fd7eb8877ab9f3a236b
#local settings
feign.hystrix.enabled=true
#开启hystrix请求超时机制
#\u5F00\u542Fhystrix\u8BF7\u6C42\u8D85\u65F6\u673A\u5236
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
#请求连接的超时时间
#\u8BF7\u6C42\u8FDE\u63A5\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ConnectTimeout=6000
#请求处理的超时时间
#\u8BF7\u6C42\u5904\u7406\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ReadTimeout=6000
management.security.enabled=false
......@@ -42,4 +42,6 @@ management.security.enabled=false
spring.zipkin.base-url=http://192.168.110.133:7895
spring.sleuth.sampler.percentage=1.0
logging.config=classpath:log4j2-test1.xml
\ No newline at end of file
logging.config=classpath:log4j2-test1.xml
wechat_url=https://test1-yunqueyilian.yunqueyi.com
\ No newline at end of file
......@@ -24,17 +24,17 @@ spring.rabbitmq.port=5672
spring.rabbitmq.username=appuser
spring.rabbitmq.password=AqLfvyWOvLQEUzdI
#微信登录信息
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F
AppID=wx1ee39338694703b0
AppSecret=69e2c741d0cf8fd7eb8877ab9f3a236b
#local settings
feign.hystrix.enabled=true
#开启hystrix请求超时机制
#\u5F00\u542Fhystrix\u8BF7\u6C42\u8D85\u65F6\u673A\u5236
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
#请求连接的超时时间
#\u8BF7\u6C42\u8FDE\u63A5\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ConnectTimeout=6000
#请求处理的超时时间
#\u8BF7\u6C42\u5904\u7406\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ReadTimeout=6000
management.security.enabled=false
......@@ -42,4 +42,6 @@ management.security.enabled=false
spring.zipkin.base-url=http://192.168.110.133:7895
spring.sleuth.sampler.percentage=1.0
logging.config=classpath:log4j2-test1.xml
\ No newline at end of file
logging.config=classpath:log4j2-test1.xml
wechat_url=https://test2-yunqueyilian.yunqueyi.com
\ No newline at end of file
......@@ -24,17 +24,17 @@ spring.rabbitmq.port=5672
spring.rabbitmq.username=picacloud
spring.rabbitmq.password=123456
#微信登录信息
#\u5FAE\u4FE1\u767B\u5F55\u4FE1\u606F
AppID=wx1ee39338694703b0
AppSecret=69e2c741d0cf8fd7eb8877ab9f3a236b
#local settings
feign.hystrix.enabled=true
#开启hystrix请求超时机制
#\u5F00\u542Fhystrix\u8BF7\u6C42\u8D85\u65F6\u673A\u5236
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=10000
#请求连接的超时时间
#\u8BF7\u6C42\u8FDE\u63A5\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ConnectTimeout=6000
#请求处理的超时时间
#\u8BF7\u6C42\u5904\u7406\u7684\u8D85\u65F6\u65F6\u95F4
ribbon.ReadTimeout=6000
management.security.enabled=false
......@@ -42,4 +42,6 @@ management.security.enabled=false
spring.zipkin.base-url=http://192.168.110.141:7895
spring.sleuth.sampler.percentage=1.0
logging.config=classpath:log4j2-uat.xml
\ No newline at end of file
logging.config=classpath:log4j2-uat.xml
wechat_url=https://uat-yunqueyilian.yunqueyi.com
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册