You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
545 B
25 lines
545 B
<?php
|
|
namespace app\model;
|
|
/**
|
|
* @property int id
|
|
* @property int brok_type
|
|
* @property int parent_fee
|
|
* @property int grandpa_fee
|
|
* @property int top_fee
|
|
* @property int pay_type
|
|
* @property int remark
|
|
*/
|
|
class BrokerageSettingModel extends BaseModel
|
|
{
|
|
protected $name = 'brokerage_setting';
|
|
protected $pk = 'id';
|
|
|
|
public static function getBrokerageSetting():array
|
|
{
|
|
$list = self::where(1)->field('brok_type,parent_fee,grandpa_fee,top_fee,pay_type,remark')->select();
|
|
return $list->toArray();
|
|
}
|
|
|
|
|
|
|
|
}
|