公共退款界面

This commit is contained in:
wanyongkang
2020-12-03 16:57:30 +08:00
parent 57d7d3d185
commit 8d5dc77038
4 changed files with 92 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace app\product\controller;
use app\product\model\Product as PoductModel;
class OpenProduct
{
/**
* @description: 获取数据
* @param {*}
* @return {*}
*/
public function getOpenList()
{
$product = new PoductModel;
$list = $product->getList([], 'Id,Name', 'Sort asc');
\result($list);
}
}

View File

@@ -0,0 +1,19 @@
<?php
/*
* @Descripttion:
* @version:
* @Author: kangkang
* @Date: 2020-10-22 16:13:41
* @LastEditors: Please set LastEditors
* @LastEditTime: 2020-12-03 16:28:11
*/
namespace app\product\model;
use fastphp\base\Model;
class Product extends Model
{
protected $table = 'product';
}