'appId', 'title' => '小程序appId', 'type' => 'string', 'value' => 'wx4adbb64583a37087', 'content' => [], 'rule' => 'required', 'msg' => '', 'tip' => '', 'ok' => '', 'extend' => '', ], [ 'name' => 'secretId', 'title' => '小程序秘钥', 'type' => 'string', 'value' => '61494b8364258d1846cfdf91a8745c80', 'content' => [], 'rule' => 'required', 'msg' => '', 'tip' => '', 'ok' => '', 'extend' => '', ], [ 'name' => 'loginUrl', 'title' => '获取openid接口', 'type' => 'string', 'value' => 'https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code', 'content' => [], 'rule' => 'required', 'msg' => '', 'tip' => '', 'ok' => '', 'extend' => '', ], [ 'name' => 'accessUrl', 'title' => '获取access_token接口', 'type' => 'string', 'value' => 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s', 'content' => [], 'rule' => 'required', 'msg' => '', 'tip' => '', 'ok' => '', 'extend' => '', ], [ 'name' => '__tips__', 'title' => '温馨提示', 'type' => 'string', 'content' => [], 'value' => '1.别的配置可以按需删除,配置文件路径在addons/baseconfig/config.php 里面
'."\n" .' 1.通过 get_addon_config("baseconfig") 拿到所有配置数据
'."\n" .' 3.插件下面的确定保存按钮没有显示出来,没关系,在application/admin/view/addon/config.html 文件里面101行 class 为 form-group layer-footer 的div 里面 加上 style="display: block!important" 即可,重点是div显示 display: block', 'rule' => '', 'msg' => '', 'tip' => '', 'ok' => '', 'extend' => '', ], ];