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.
13 lines
320 B
13 lines
320 B
<?php
|
|
|
|
namespace app\model;
|
|
|
|
class ContractSettingModel extends BaseModel
|
|
{
|
|
protected $name = 'contract_setting';
|
|
protected $pk = 'id';
|
|
|
|
public static function getSettingList(){
|
|
return self::where('id', '>', 0)->field('time_step,earnings_num')->order('time_step', 'asc')->select()->toArray();
|
|
}
|
|
}
|