test_service d3170b4d1c 1
2023-12-01 15:43:29 +08:00

25 lines
642 B
PHP

<?php
namespace app\store\controller\food\user;
use app\store\controller\food\Controller;
use app\store\model\food\Record as RecordModel;
use app\store\model\food\Shop as ShopModel;
use think\facade\View;
/**
* 用户支付记录
*/
class Pay extends Controller
{
/**
* 用户充值列表
*/
public function index($shop_id = 0)
{
$model = new ShopModel;
$category = $model->getList(false);
$model = new RecordModel;
$list = $model->getList([],$shop_id);
return View::fetch('index', compact('list','category','shop_id'));
}
}