[更新]修改微信配置接口

This commit is contained in:
Anyon 2018-04-02 11:09:43 +08:00
parent b50042d957
commit db936c2a02
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,6 @@ use controller\BasicAdmin;
use service\ToolsService; use service\ToolsService;
use service\WechatService; use service\WechatService;
use think\Db; use think\Db;
use think\Exception;
/** /**
* 微信粉丝管理 * 微信粉丝管理

View File

@ -177,6 +177,8 @@ class Fans extends BasicAdmin
*/ */
public function sync() public function sync()
{ {
echo 11;
exit;
try { try {
Db::name($this->table)->where('1=1')->delete(); Db::name($this->table)->where('1=1')->delete();
FansService::sync(); FansService::sync();