Create ShopPaymentItem.php

This commit is contained in:
邹景立 2021-01-28 11:14:05 +08:00
parent 583ba860ff
commit 4de77fba5e

View File

@ -0,0 +1,35 @@
<?php
namespace app\data\controller;
use think\admin\Controller;
/**
* 支付行为记录
* Class ShopPaymentItem
* @package app\data\controller
*/
class ShopPaymentItem extends Controller
{
/**
* 绑定数据
* @var string
*/
private $table = 'ShopPaymentItem';
/**
* 支付行为记录
* @auth true
* @menu true
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
public function index()
{
$this->title = '支付行为记录';
$query = $this->_query($this->table);
$query->like('order_no')->order('id desc')->page();
}
}