mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-14 12:32:50 +00:00
52 lines
1.6 KiB
PHP
52 lines
1.6 KiB
PHP
<?php
|
||
// +----------------------------------------------------------------------
|
||
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
||
// +----------------------------------------------------------------------
|
||
// | Copyright (c) 2016~2020 https://www.crmeb.com All rights reserved.
|
||
// +----------------------------------------------------------------------
|
||
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
||
// +----------------------------------------------------------------------
|
||
// | Author: CRMEB Team <admin@crmeb.com>
|
||
// +----------------------------------------------------------------------
|
||
namespace app\adminapi\controller\v1\application\wechat;
|
||
|
||
|
||
use app\adminapi\business\wechat\WechatMessageBusiness;
|
||
use app\adminapi\model\wechat\WechatMessage as MessageModel;
|
||
use app\adminapi\controller\AuthController;
|
||
|
||
/**
|
||
* 用户扫码点击事件
|
||
* Class SystemMessage
|
||
* @package app\admin\controller\system
|
||
*/
|
||
class WechatMessage extends AuthController
|
||
{
|
||
/**
|
||
* 显示操作记录
|
||
*/
|
||
public function index()
|
||
{
|
||
$where = $this->getMore([
|
||
['page', 1],
|
||
['limit', 20],
|
||
['nickname', ''],
|
||
['type', ''],
|
||
['data', ''],
|
||
]);
|
||
return app('json')->success(app()->make(WechatMessageBusiness::class)->systemPage($where));
|
||
}
|
||
|
||
/**
|
||
* 操作名称列表
|
||
* @return mixed
|
||
*/
|
||
public function operate()
|
||
{
|
||
$operate = app()->make(MessageModel::class)->mold;
|
||
return app('json')->success(compact('operate'));
|
||
}
|
||
|
||
}
|
||
|