Selaa lähdekoodia

Merge branch 'wx-kw' into test

zqwang 2 vuotta sitten
vanhempi
commit
38245df7d4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/WechatPlatform/Services/WechatMenuService.php

+ 1 - 1
modules/WechatPlatform/Services/WechatMenuService.php

@@ -85,7 +85,7 @@ class WechatMenuService extends BaseService
                 $app->menu->delete($val->wx_menuid);
             }
             $matchRule = [
-                "client_platform_type" => $val->type == "iso" ? "1" : "2",
+                "client_platform_type" => $val->type == "ios" ? "1" : "2",
             ];
             $res = $app->menu->create($val->content, $matchRule);
             myLog('wx-meun')->info(['res' => $res]);