wang hou sheng 8 months ago
parent 1927997ea4
commit ac35e769d9
  1. 2
      app/api/controller/Wxserver.php
  2. 2
      app/common/library/wxserver/Server.php

@ -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);
$ext_json['window'] = [];
$data['ext_json'] = json_encode($ext_json);
$url = 'https://api.weixin.qq.com/wxa/commit?access_token=' . $access_token;

Loading…
Cancel
Save