|
@@ -101,6 +101,35 @@ class UsersController extends HomeBaseController{ |
|
@@ -101,6 +101,35 @@ class UsersController extends HomeBaseController{ |
101
|
$this->apiResponse(200,'success',$data);
|
101
|
$this->apiResponse(200,'success',$data);
|
102
|
}
|
102
|
}
|
103
|
|
103
|
|
|
|
104
|
+ /**
|
|
|
105
|
+ * @title 获取计费规则
|
|
|
106
|
+ * @description 获取计费规则
|
|
|
107
|
+ * @author 董瑞恩
|
|
|
108
|
+ * @url /portal/users/bill_rules
|
|
|
109
|
+ * @method GET
|
|
|
110
|
+ *
|
|
|
111
|
+ * @return bill_rules:计费规则
|
|
|
112
|
+ */
|
|
|
113
|
+ public function bill_rules(){
|
|
|
114
|
+ $data=Db::name('set_up')->field('bill_rules')->where('id',1)->find();
|
|
|
115
|
+ $data['bill_rules']=html_entity_decode($data['bill_rules']);
|
|
|
116
|
+ $this->apiResponse(200,'success',$data);
|
|
|
117
|
+ }
|
|
|
118
|
+
|
|
|
119
|
+ /**
|
|
|
120
|
+ * @title 获取使用须知
|
|
|
121
|
+ * @description 获取使用须知
|
|
|
122
|
+ * @author 董瑞恩
|
|
|
123
|
+ * @url /portal/users/directions
|
|
|
124
|
+ * @method GET
|
|
|
125
|
+
|
|
|
126
|
+ * @return directions:计费规则
|
|
|
127
|
+ */
|
|
|
128
|
+ public function directions(){
|
|
|
129
|
+ $data=Db::name('set_up')->field('directions')->where('id',1)->find();
|
|
|
130
|
+ $data['directions']=html_entity_decode($data['directions']);
|
|
|
131
|
+ $this->apiResponse(200,'success',$data);
|
|
|
132
|
+ }
|
104
|
|
133
|
|
105
|
/**
|
134
|
/**
|
106
|
* @title 用户查询订单列表
|
135
|
* @title 用户查询订单列表
|