소스 검색

点位详情增加问题列表

zk 2 년 전
부모
커밋
4c750694f8
2개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 6 6
      server/config.yaml
  2. 1 1
      server/main_test.go

+ 6 - 6
server/config.yaml

@@ -43,11 +43,11 @@ jwt:
 local:
   path: uploads/file
 mysql:
-  path: 1.116.188.224:3306
+  path: sh-cdb-iqon9gwa.sql.tencentcdb.com:59309
   config: charset=utf8mb4&parseTime=True&loc=Local
   db-name: cc_info
   username: root
-  password: 41051459cb7fb12d
+  password: zk159256
   max-idle-conns: 0
   max-open-conns: 0
   log-mode: "info"
@@ -85,10 +85,10 @@ timer:
       compareField: created_at
       interval: 2160h
 wxxcx:
-  appid: wx0dc3e4978f919285
-  secret: fdf155c29d4f6bfb104efdfcd9e99a52
-  wxid: wx66e0fbb5a735bcc4
-  wxkey: 6d9a776f8f7a485db4b1813be8c6891e
+  appid: wxa675b666f6f9fddb
+  secret: fac99b13b6080d767427064e2f4044ca
+  wxid: wx668a99d5aa4533ce
+  wxkey: 4d9dabc24409c9e53d31d8b51a5be1ba
   msgid: ADfLDnZFI4g39m1RZyDO8CKNue3Dx4LblozriSpn7jw
   name: 崇礼
   authUrl: https://work.zk1006.com/api

+ 1 - 1
server/main_test.go

@@ -23,7 +23,7 @@ func TestName(t *testing.T) {
 	//_, resysDictionaryDetail := dictionaryDetailService.GetSysDictionaryDetail(8)
 	//fmt.Printf("\t%v", resysDictionaryDetail)
 	var menuAA []*menu.Button
-	menuAA = append(menuAA, &menu.Button{Type: "miniprogram", Name: "经开创城小程序", URL: "http://zk1006.cn", AppID: "wx0dc3e4978f919285", PagePath: "/pages/checking"})
+	menuAA = append(menuAA, &menu.Button{Type: "miniprogram", Name: "崇礼创城小程序", URL: "http://zk1006.cn", AppID: "wxa675b666f6f9fddb", PagePath: "/pages/checking"})
 	//menuAA = append(menuAA, &menu.Button{Type: "view", Name: "小程序授权登录", URL: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx66e0fbb5a735bcc4&redirect_uri=https://cc.zjkduoduo.com/api/wechat/auth&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect"})
 	err := global.GVA_WECHAT.GetMenu().SetMenu(menuAA)
 	global.GVA_LOG.Info("错误", zap.Any("err", err))