mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]微信关键字管理
This commit is contained in:
parent
3e413436a4
commit
5281569ff5
@ -14,6 +14,7 @@
|
|||||||
namespace app\wechat\controller;
|
namespace app\wechat\controller;
|
||||||
|
|
||||||
use controller\BasicAdmin;
|
use controller\BasicAdmin;
|
||||||
|
use service\DataService;
|
||||||
use think\Db;
|
use think\Db;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -65,6 +66,16 @@ class Keys extends BasicAdmin {
|
|||||||
return $this->_form($this->table, 'form', 'id');
|
return $this->_form($this->table, 'form', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除关键字
|
||||||
|
*/
|
||||||
|
public function del() {
|
||||||
|
if (DataService::update($this->table)) {
|
||||||
|
$this->success("关键字删除成功!", '');
|
||||||
|
}
|
||||||
|
$this->error("关键字删除失败,请稍候再试!");
|
||||||
|
}
|
||||||
|
|
||||||
public function subscribe() {
|
public function subscribe() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user