@ -13,7 +13,7 @@ class Wxserver extends BaseController
public function index()
{
$ext_json['extAppid'] = '123456';
$ext_json['ext']['store_id'] = 1001;
$ext_json['ext']['attr']['store_id'] = 1001;
$ext_json['window'] = [];
$data['ext_json'] = $ext_json;
return $this->renderSuccess($data);
@ -197,7 +197,7 @@ class Server
$data['user_version'] = $version;
$data['user_desc'] = 'updated';
$ext_json['extAppid'] = $appid;
$ext_json['ext']['store_id'] = $this->storeId($appid);
$ext_json['ext']['attr']['store_id'] = $this->storeId($appid);
$data['ext_json'] = json_encode($ext_json);
$url = 'https://api.weixin.qq.com/wxa/commit?access_token=' . $access_token;