|
@@ -88,12 +88,13 @@ class WechatMenuService extends BaseService
|
|
|
"client_platform_type" => $val->type == "iso" ? "1" : "2",
|
|
|
];
|
|
|
$res = $app->menu->create($val->content, $matchRule);
|
|
|
-
|
|
|
+ myLog('wx-meun')->info(['res' => $res]);
|
|
|
|
|
|
$errcode = getProp($res,'errcode',"");
|
|
|
if (intval($errcode) == 65303){
|
|
|
$res = $app->menu->create($val->content);
|
|
|
}
|
|
|
+ myLog('wx-meun')->info(['res' => $res]);
|
|
|
$wxMenuId = getProp($res, 'menuid', "");
|
|
|
$res = $app->menu->create($val->content, $matchRule);
|
|
|
myLog('wx-meun')->info(['res' => $res,'mid' => $wxMenuId]);
|