trtc的APPid 填了,还是启动失败,怎么解决,老师

来源:1-7 运行初始化项目

洛克0888

2025-03-26

server:
  jetty:
    threads:
      acceptors: 4
      selectors: 8
      min: 8
      max: 200
  port: 8091
  servlet:
    context-path: /patient-wx-api

spring:
  datasource:
    driver-class-name: org.apache.phoenix.queryserver.client.Driver
    url: jdbc:phoenix:thin:url=http://localhost:8765;serialization=PROTOBUF
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      test-on-borrow: true
      test-while-idle: true
      max-active: 8
      min-idle: 4
      validation-query: SELECT 1

  servlet:
    multipart:
      enabled: true
      max-file-size: 20MB
      max-request-size: 20MB

  redis:
    database: 0
    host: localhost
    port: 6379
    password: abc123456
    jedis:
      pool:
        max-active: 1000
        max-wait: -1ms
        max-idle: 16
        min-idle: 8


  quartz:
    job-store-type: memory

mybatis:
  mapper-locations: classpath*:mapper/*.xml
  type-aliases-package: com.example.hospital.patient.wx.api.db.pojo
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    map-underscore-to-camel-case: true

logging:
  level:
    root: info
    com.example.hospital.patient.wx.api.db.dao: warn
  pattern:
    console: "%d{yyyy/MM/dd HH:mm:ss}  %-5level  %msg%n"

sa-token:
  #token名称 (同时也是cookie名称)
  token-name: token
  # token有效期,单位s 默认30天, -1代表永不过期
  timeout: 2592000
  # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
  activity-timeout: -1
  # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
  allow-concurrent-login: true
  # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
  is-share: false
  token-style: uuid
  isReadCookie: false


wechat:
  app-id: 你的微信小程序APPID
  app-secret: 你的微信小程序密钥
  pay:
    v3:
      patient-wx-api:
        app-id: 你的微信小程序APPID
        app-v3-secret: 微信商户平台密钥
        mch-id: 微信商户平台ID
        domain: http://内网穿透的外网IP地址和端口/patient-wx-api
        cert-path: apiclient_cert.p12

tencent:
  cloud:
    appId: 你的腾讯云APPID
    secretId: 你的腾讯云secretId
    secretKey: 你的腾讯云secretKey
    face:
      groupName: hospital
      region: ap-beijing
  trtc:
    appId: 72873690
    secretKey: TRTC的secretKey
    expire: 86400

minio:
  endpoint: http://localhost:9000
  access-key: root
  secret-key: abc123456

图片描述
图片描述
图片描述

图片描述

写回答

2回答

神思者

2025-03-26

微信支付信息没有写,去git上面获取微信appid和密钥
1
1
洛克0888
非常感谢!神老师
2025-03-26
共1条回复

挽倾_ikqAR1

2025-03-28

同学  怎么搞的 我也这样

0
0

SpringBoot2.X + Vue + UniAPP,全栈开发医疗小程序

毕设/求职可用的新潮优秀案例(Web管理端+小程序用户端)

692 学习 · 477 问题

查看课程