mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]简化代码,优化结构
This commit is contained in:
parent
3380919111
commit
bcc5e57154
@ -53,6 +53,7 @@ class Fans extends BasicAdmin {
|
|||||||
public function sync() {
|
public function sync() {
|
||||||
Db::name($this->table)->where('1=1')->delete();
|
Db::name($this->table)->where('1=1')->delete();
|
||||||
if (WechatService::syncAllFans('')) {
|
if (WechatService::syncAllFans('')) {
|
||||||
|
LogService::write('微信管理', '同步全部微信粉丝成功');
|
||||||
$this->success('同步获取所有粉丝成功!', '');
|
$this->success('同步获取所有粉丝成功!', '');
|
||||||
}
|
}
|
||||||
$this->error('同步获取粉丝失败,请稍候再试!');
|
$this->error('同步获取粉丝失败,请稍候再试!');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user