...
|
...
|
@@ -101,6 +101,35 @@ class UsersController extends HomeBaseController{ |
|
|
$this->apiResponse(200,'success',$data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @title 获取计费规则
|
|
|
* @description 获取计费规则
|
|
|
* @author 董瑞恩
|
|
|
* @url /portal/users/bill_rules
|
|
|
* @method GET
|
|
|
*
|
|
|
* @return bill_rules:计费规则
|
|
|
*/
|
|
|
public function bill_rules(){
|
|
|
$data=Db::name('set_up')->field('bill_rules')->where('id',1)->find();
|
|
|
$data['bill_rules']=html_entity_decode($data['bill_rules']);
|
|
|
$this->apiResponse(200,'success',$data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @title 获取使用须知
|
|
|
* @description 获取使用须知
|
|
|
* @author 董瑞恩
|
|
|
* @url /portal/users/directions
|
|
|
* @method GET
|
|
|
|
|
|
* @return directions:计费规则
|
|
|
*/
|
|
|
public function directions(){
|
|
|
$data=Db::name('set_up')->field('directions')->where('id',1)->find();
|
|
|
$data['directions']=html_entity_decode($data['directions']);
|
|
|
$this->apiResponse(200,'success',$data);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @title 用户查询订单列表
|
...
|
...
|
|