mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
d97b0a248e
commit
972d8d3891
@ -24,7 +24,7 @@
|
||||
</label>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="layui-bg-gray layui-form-item layui-row layui-col-space10">
|
||||
<fieldset class="layui-form-item layui-row layui-col-space10">
|
||||
<label class="layui-col-xs4 relative block">
|
||||
<span class="color-green font-w7">联系邮箱</span>
|
||||
<span class="color-desc margin-left-5">Email</span>
|
||||
|
@ -56,7 +56,7 @@ class Menu extends Controller
|
||||
if ($this->request->get('output') === 'json') {
|
||||
$where = [['keys', 'notin', ['subscribe', 'default']], ['status', '=', '1']];
|
||||
$keys = $this->app->db->name('WechatKeys')->where($where)->order('sort desc,id desc')->select();
|
||||
$this->success('获取数据成功!', ['menudata' => sysdata('menudata'), 'keysdata' => $keys]);
|
||||
$this->success('获取数据成功!', ['wechat_menud_ata' => sysdata('wechat_menu_data'), 'keysdata' => $keys]);
|
||||
} else {
|
||||
$this->title = '微信菜单定制';
|
||||
$this->fetch();
|
||||
@ -85,7 +85,7 @@ class Menu extends Controller
|
||||
} else {
|
||||
try {
|
||||
sysdata('wechat_menud_ata', $this->_buildMenuData(json_decode($data, true)));
|
||||
WechatService::WeChatMenu()->create(['button' => sysdata('wechat_menud_ata')]);
|
||||
WechatService::WeChatMenu()->create(['button' => sysdata('wechat_menu_data')]);
|
||||
sysoplog('微信管理', '发布微信菜单成功');
|
||||
$this->success('保存发布菜单成功!', '');
|
||||
} catch (HttpResponseException $exception) {
|
||||
|
2
vendor/services.php
vendored
2
vendor/services.php
vendored
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// This file is automatically generated at:2020-01-06 15:45:08
|
||||
// This file is automatically generated at:2020-01-07 10:41:54
|
||||
declare (strict_types = 1);
|
||||
return array (
|
||||
0 => 'think\\app\\Service',
|
||||
|
Loading…
x
Reference in New Issue
Block a user