diff --git a/app/wechat/controller/Config.php b/app/wechat/controller/Config.php
index aff51e588..d90d563d7 100644
--- a/app/wechat/controller/Config.php
+++ b/app/wechat/controller/Config.php
@@ -69,7 +69,7 @@ class Config extends Controller
$this->error($exception->getMessage());
}
}
- sysoplog('微信管理', '修改微信授权配置成功');
+ sysoplog('微信授权配置', '修改微信授权配置成功');
$location = url('wechat/config/options')->build() . '?uniqid=' . uniqid();
$this->success('微信参数修改成功!', sysuri('admin/index/index') . "#{$location}");
}
@@ -138,7 +138,7 @@ class Config extends Controller
}
}
foreach ($this->request->post() as $k => $v) sysconf($k, $v);
- sysoplog('微信管理', '修改微信支付配置成功');
+ sysoplog('微信授权配置', '修改微信支付配置成功');
$this->success('微信支付配置成功!');
} else {
$this->error('抱歉,访问方式错误!');
diff --git a/app/wechat/controller/Fans.php b/app/wechat/controller/Fans.php
index 96e57b4d9..1a5736490 100644
--- a/app/wechat/controller/Fans.php
+++ b/app/wechat/controller/Fans.php
@@ -75,6 +75,7 @@ class Fans extends Controller
*/
public function sync()
{
+ sysoplog('微信授权配置', '创建粉丝用户同步任务');
$this->_queue('同步微信用户数据', "xadmin:fansall");
}
diff --git a/app/wechat/controller/Menu.php b/app/wechat/controller/Menu.php
index 2da397985..de6c6e461 100644
--- a/app/wechat/controller/Menu.php
+++ b/app/wechat/controller/Menu.php
@@ -96,22 +96,22 @@ class Menu extends Controller
$data = $this->request->post('data');
if (empty($data)) try {
WechatService::WeChatMenu()->delete();
- sysoplog('微信管理', '删除微信菜单成功');
+ sysoplog('微信菜单管理', '删除微信菜单成功');
$this->success('删除微信菜单成功!', '');
} catch (HttpResponseException $exception) {
throw $exception;
} catch (\Exception $exception) {
- sysoplog('微信管理', "删除微信菜单失败:{$exception->getMessage()}");
+ sysoplog('微信菜单管理', "删除微信菜单失败:{$exception->getMessage()}");
$this->error("删除微信菜单失败,请稍候再试!
{$exception->getMessage()}");
} else try {
sysdata($this->ckey, $this->_buildMenuData(json_decode($data, true)));
WechatService::WeChatMenu()->create(['button' => sysdata($this->ckey)]);
- sysoplog('微信管理', '发布微信菜单成功');
+ sysoplog('微信菜单管理', '发布微信菜单成功');
$this->success('保存发布菜单成功!', '');
} catch (HttpResponseException $exception) {
throw $exception;
} catch (\Exception $exception) {
- sysoplog('微信管理', "发布微信菜单失败:{$exception->getMessage()}");
+ sysoplog('微信菜单管理', "发布微信菜单失败:{$exception->getMessage()}");
$this->error("微信菜单发布失败,请稍候再试!
{$exception->getMessage()}");
}
}