保证金功能与页面完善

This commit is contained in:
liuxiaoquan 2023-03-06 18:22:20 +08:00
parent 5f0f32e5e9
commit c2c20eedf7
4 changed files with 0 additions and 124 deletions

View File

@ -1,26 +0,0 @@
<?php
/**
* 表单页面
*
*/
namespace app\admin\controller\merchant\system;
use app\admin\BaseController;
class Merchant extends BaseController{
protected $model;
public function __construct()
{
}
function classify(){
}
public function system() {
}
}

View File

@ -1,51 +0,0 @@
<?php
/**
* @usage 商户管理
* @
* @author 刘孝全
*/
namespace app\common\model\merchant\system;
use think\model;
use think\facade\Db;
/**
* 商户管理model
*/
class Merchant extends Model
{
/**
* 店铺类型.
*
*@param int $page 当前页数
*@param int $limit 获取记录行数
*
*@return Array $list
*/
public function GetType($offset,$limit){
$rows = empty($limit) ? get_config('app . page_size') : $limit;
$where = [];
$list = self::where($where)
->field('id,user_id,title,content,create_time,status,is_read,read_time')
->page($offset)
->limit($limit)
->select();
return $list;
}
/**
* @ 店铺类型说明
*
* return string
*/
public function GetDescription(){}
/**
* @ 店铺保证金
*
* return list
*/
public function Getdeposit(){}
}

View File

@ -1,22 +0,0 @@
<?php
declare (strict_types = 1);
namespace app\common\model\merchant\system;
use think\Model;
/**
* @mixin \think\Model
*/
class MerchantApplyments extends Model
{
protected $table = "eb_merchant_intention";
function __construct(){}
function GetList(){
$list = self::where()->select();
return $list;
}
}

View File

@ -1,25 +0,0 @@
<?php
/**
* 店铺保证金model
*
* @author刘孝全
* @emailq8197264@126.com
* @date 2023年03月3日
*/
namespace app\common\model\merchant\system\merchant;
use think\Model;
class MerchantMargin extends Model
{
protected $connection = 'shop';
protected $table = '';
function GetList()
{
$list = self::select();
return $list;
}
}