@@ -19,4 +19,26 @@ class Api
return $result;
}
+
+ # 获取帮助列表
+ public function help()
+ {
+ $type = Dever::input('type', 1);
+ if (!$type) {
+ Dever::alert('您访问的页面有误');
+ }
+ $where['type'] = $type;
+ $data = Dever::db('main/help')->select_page($where);
+ return $data;
+ # 获取帮助详情
+ public function help_view()
+ $id = Dever::input('id');
+ $data = Dever::db('main/help')->find($id);
@@ -9,7 +9,7 @@ class Console
public function data()
{
$where['start'] = Dever::maketime(date('Y-m-d 00:00:00'));
- $where['end'] = Dever::maketime(date('Y-m-d 59:59:59'));
+ $where['end'] = Dever::maketime(date('Y-m-d 23:59:59'));
$where['status'] = '1,2,3,4';
$today_sell_cash = Dever::db('shop/sell_order')->getCashNum($where);