You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Niucloud-admin 企业快速开发的saas管理平台
|
|
// +----------------------------------------------------------------------
|
|
// | 官方网址:https://www.niucloud-admin.com
|
|
// +----------------------------------------------------------------------
|
|
// | niucloud团队 版权所有 开源版本可自由商用
|
|
// +----------------------------------------------------------------------
|
|
// | Author: Niucloud Team
|
|
// +----------------------------------------------------------------------
|
|
|
|
namespace app\adminapi\controller\notice;
|
|
|
|
use app\service\admin\notice\NoticeSmsLogService;
|
|
use core\base\BaseAdminController;
|
|
use think\Response;
|
|
|
|
class SmsLog extends BaseAdminController
|
|
{
|
|
|
|
/**
|
|
* 短信发送记录列表
|
|
* @return Response
|
|
*/
|
|
public function lists()
|
|
{
|
|
$data = $this->request->params([
|
|
['mobile', ''],
|
|
['sms_type', ''],
|
|
['key', ''],
|
|
]);
|
|
|
|
$res = (new NoticeSmsLogService())->getPage($data);
|
|
return success($res);
|
|
}
|
|
|
|
public function info($id)
|
|
{
|
|
$res = (new NoticeSmsLogService())->getInfo($id);
|
|
return success($res);
|
|
}
|
|
|
|
}
|
|
|