@ -60,7 +60,7 @@ es:
servicePackLog: base_service_package_log
fast-dfs:
tracker-server: 172.19.103.54:22122 #服务器地址
tracker-server: 172.26.0.110:22122 #服务器地址
connect-timeout: 2 #链接超时时间
network-timeout: 30
charset: ISO8859-1 #编码
@ -137,9 +137,9 @@ im:
spring:
profiles: jwtest
datasource:
url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
username: ssgg
password: ssgg@jkzl2019
url: jdbc:mysql://192.168.1.221/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
username: wlyy_sr
password: 4zjQjEax
# url: jdbc:mysql://172.19.103.77/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
# username: root
# password: 123456
@ -117,7 +117,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
@PostMapping(value = "videoInviteMiniProgram")
@ApiOperation(value = "医生端:发起/断开 会话小程序视频邀请", notes = "医生端:发起/断开 会话小程序视频邀请")
@ApiOperation(value = "发起/断开 会话小程序视频邀请", notes = "发起/断开 会话小程序视频邀请")
public Envelop videoInviteMiniProgram(@ApiParam(name = "sender_id", value = "发起人")
@RequestParam(value = "sender_id",required = true) String sender_id,
@ApiParam(name = "reciver_id", value = "接收人")
@ -125,8 +125,6 @@ public class ConsultService {
String openId = basePatientWechatDos.get(0).getOpenid();
messageUtil.putTemplateWxMessage(wechatId,"template_consult_notice","spthtx",openId,first,null,null,28,json, DateUtil.dateToChineseDate(new Date()),"视频请求","点击接收");
}
}else{
throw new Exception("接收者ID错误,无法找到该账号");
return "success";