保证金功能与页面完善
This commit is contained in:
parent
5f0f32e5e9
commit
c2c20eedf7
@ -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() {
|
||||
|
||||
}
|
||||
|
||||
}
|
@ -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(){}
|
||||
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* 店铺保证金model
|
||||
*
|
||||
* @author:刘孝全
|
||||
* @email:q8197264@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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user