ThinkAdmin/app/data/controller/ShopOrderService.php
2020-09-10 19:04:39 +08:00

40 lines
874 B
PHP

<?php
namespace app\data\controller;
use think\admin\Controller;
/**
* 售后申请管理
* Class ShopOrderService
* @package app\data\controller
*/
class ShopOrderService extends Controller
{
/**
* 绑定数据表
* @var string
*/
private $table = 'ShopOrderService';
/**
* 售后申请管理
* @auth true
* @menu true
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
public function index()
{
$this->title = '售后申请管理';
$this->type = input('type', 'all');
$query = $this->_query($this->table);
if (is_numeric($this->type = input('type', 'all'))) {
$query->equal('status#type');
}
$query->order('id desc')->page();
}
}