animeic 1 سال پیش
والد
کامیت
191447e79a
3فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 3 3
      pay/app.yaml
  2. 1 0
      pay/assettest.log
  3. 1 1
      pay/main.go

+ 3 - 3
pay/app.yaml

@@ -36,8 +36,8 @@ single:
       appId: 2021003132622153
       privateKey: MIIEpQIBAAKCAQEAmJW+3iUW1mDIo7H9F7XpOp7M0jGvnMXMnDJTazoaQxZd/p8KXx/JM3MIol/54wQabi64eJg30oy5xXjycoEf1F9ROnT2kGiYUKD9Q+qXAKSU1+zl814SIM8xP2kBe3bsTw4vpvePNn1TizRw7ex/Bm+0jdH1tmpuapLGF/9yZyf3MtkS2M4rfUrKfGgAlAlrWzut1lRS3ep++zV1LtWJLsJ8NBW0qEjVABnwjbCWVAz9oVE82+880PhUraF/2kSy8D90etFIoezbK+QjAvQELnLL+SEtUFP9RSX1rL3riphtS7YKszQdV7UT3lv6pXmAtODNQx88Xi8GwgPpaTd71wIDAQABAoIBAQCSx0HTKfR9Bp8bMMWZQGl59XZsIFWhRnkcLCEovbyzmlmS7OSqOsZuUpMUt6SG59SQ9yqG/057oNm3hzAaS/IVdheKVyc0JRmYPjVDVvApMyjnSUCuymg/3W+vYtCFNxH8vlXClNPUA90QxMJ5bQ2IYH5cCoQGFP3gUQ5z2Uvww/no2C649s9FJ8vtK1AM76emgeGRRpa1Fj5YCKtnJauBG5CxmfDn0TrvwKxZu2efByDcVXakps8wED+ixD4ZrIZCLqHsuWSA/TNlOrFm2Kuql39xBKBAmXmPiVIGIfTubZcy9UbMAFwzoL7tBsXjAnnTTQl06hHdms9gPMV+eJaRAoGBAMnOouqQ5XGyaSL/PMCcSdAy7/4c9nII+ecD9H/B2Qrr0YrGqiPNgtNVBWuviyb6tVbuQOJIb62M8MhpfGh0KSRTN8rauzIyFeNY21KIUhUA3GipyzWXS4CGGhfxRGA/BN0i74KE/6OvO5z1p1ECCYkhfQN+lo9uCVXtMrXPYMm/AoGBAMGPS6DNb4MlxKsityYf1DdGc9SVJgTgRgNf9I77jL5cYZ3flKiEczrPkTs/0uQpd66968I5wB4cN2aSCcJdGCiVvcspUB9ecNPDbsrxLD2HUxwaY0cRfz8Yq8Zo5m2SwCfIy11+OZMdZBUhwH72DR8oD7tzJp4/ae9vbKnMpWPpAoGBAL6ZPAOAkEOe9m+IUw+zTH+n7ES7hANV+Pi4Io8bPWt0J/cDBSRFcD86uKDpLerFtMmCwqM1OMzYJX2TK13YABd/xV0A0vZomYWcoaBEggm2Q3VSkEtwNm4PuctNIoAoZOaanU1PYcZttUbcOIdo/iqXB2Rqhba3fXe7TD6su0QvAoGBAIULMOmzq72SnU8gipE6+YyQ8ZciecKKQbWaJCiPwVsrdrGkd7Mpb2byO5plMVlBI5HJ255iQaqwrGflY63kfXGQE6fsmrUlHhqAz8vQ4B7ewIKlpK252iQNmizD9/dDEq+F9jsqQvrbDer0izL5f2V2DPJEoTvOzMsWZLOGBfzZAoGAFTxKcIPsD0M+HNxKcP7FVL+U8qNklDn6nwE6jydvxhezlRTUOYR/UR2n3LRanR4xl6j++r4vLJAUvjJYVwgk4fSEMgbE+Vy/HQYCq7mWklatahjyT4+j86nRvKWpHoPGdhAIS6S1J5PlWX5iyVs9PKkE7zNrPVJu5p9M+HUzg34=
       isProd: true
-      # returnUrl: https://www.3dqueen.cn/comm/v1/pay/single/alipay/callback
-      # notifyUrl: https://www.3dqueen.cn/comm/v1/pay/single/alipay/callback
+      # returnUrl: https://www.3dqueen.cloud/pay/v1/single/alipay/callback
+      # notifyUrl: https://www.3dqueen.cloud/pay/v1/single/alipay/callback
       returnUrl: https://api.afina.studio/pay/single/alipay/callback
       notifyUrl: https://api.afina.studio/pay/single/alipay/callback
       appCertPath: ./crt/single/alipay/appCertPublicKey.crt
@@ -50,7 +50,7 @@ single:
       serialNo: 690F2A694D2B6EFA2E4AEFE76E652CFC61867524
       apiV3Key: BSNDcbbL5r122gEdoCSd9tGNIPNvjSxx
       privateKey: ./crt/single/wechat/apiclient_key.pem
-      # notifyUrl:  https://www.3dqueen.cn/comm/v1/pay/single/wechat/callback
+      # notifyUrl: https://www.3dqueen.cloud/pay/v1/single/wechat/callback
       notifyUrl:  https://api.afina.studio/pay/single/wechat/callback
 
 multi:

+ 1 - 0
pay/assettest.log

@@ -62,3 +62,4 @@
 {"level":"info","timestamp":"2023-07-18 15:37:03","message":"[初始化支付客户端]","service_name":"assettest"}
 {"level":"info","timestamp":"2023-07-18 15:43:06","message":"[初始化支付客户端]","service_name":"assettest"}
 {"level":"info","timestamp":"2023-07-18 16:08:34","message":"[初始化支付客户端]","service_name":"assettest"}
+{"level":"info","timestamp":"2023-07-18 17:22:51","message":"[初始化支付客户端]","service_name":"assettest"}

+ 1 - 1
pay/main.go

@@ -37,7 +37,7 @@ func BuildApp() *dig.Container {
 	})
 	_ = app.Provide(bus.NewNatsBus)
 	_ = app.Provide(db.NewConfigMongoDB)
-	_ = app.Provide(db.NewConfigRedisClient)
+	// _ = app.Provide(db.NewConfigRedisClient)
 	_ = app.Provide(api.NewHttpService)
 	// 支付宝、微信初始化
 	_ = app.Provide(pay.NewPay)