Skip to content

Commit

Permalink
增加新小程序
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Jan 14, 2024
1 parent 41a94ac commit c3455ea
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 57 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ REDIS_DB=0
# WeChat
MP_APP_ID="wx5effdaefdbb2671f"
MP_SECRET=""
MP2_APP_ID=""
MP2_SECRET=""
108 changes: 51 additions & 57 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions config/autoload/wechat.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@

'use_stable_access_token' => true,

'http' => [
'throw' => true,
'timeout' => 5.0,

'retry' => true,
],
],
[
'app_id' => env('MP2_APP_ID'),
'secret' => env('MP2_SECRET'),
'token' => '',
'aes_key' => '',

'use_stable_access_token' => true,

'http' => [
'throw' => true,
'timeout' => 5.0,
Expand Down

0 comments on commit c3455ea

Please sign in to comment.