Browse Source

fix:体验版

super-yimizi 1 day ago
parent
commit
ac38809a31
1 changed files with 4 additions and 4 deletions
  1. 4 4
      application/api/controller/third/Wechat.php

+ 4 - 4
application/api/controller/third/Wechat.php

@@ -154,14 +154,14 @@ class Wechat extends Base
         $mp = $this->wechat->getApp();
         $mp = $this->wechat->getApp();
         $path = $this->payload['path'];
         $path = $this->payload['path'];
         list($page, $scene) = explode('?', $path);
         list($page, $scene) = explode('?', $path);
-
         $content = $mp->app_code->getUnlimit($scene, [
         $content = $mp->app_code->getUnlimit($scene, [
             'page' => substr($page, 1),
             'page' => substr($page, 1),
             'is_hyaline' => true,
             'is_hyaline' => true,
-            // 'env_version' => 'develop'
-            'env_version' => 'release'
+            'env_version' => 'trial'
+            //'env_version' => 'develop'
+            //'env_version' => 'release'
         ]);
         ]);
-
+      
         if ($content instanceof \EasyWeChat\Kernel\Http\StreamResponse) {
         if ($content instanceof \EasyWeChat\Kernel\Http\StreamResponse) {
             return response($content->getBody(), 200, ['Content-Length' => strlen($content->getBodyContents())])->contentType('image/png');
             return response($content->getBody(), 200, ['Content-Length' => strlen($content->getBodyContents())])->contentType('image/png');
         } else {
         } else {