ADD:添加后台文章、通知等管理端接口;

FIX:修正若干已知错误;
This commit is contained in:
2025-07-13 19:40:10 +08:00
parent 270b881437
commit 7244023619
15 changed files with 1616 additions and 503 deletions
@@ -52,8 +52,10 @@ class OrderpreController extends Common
$post = $this->postdata;
$search = isset($post['search']) ? $post['search'] : [];
//预置搜索条件,只允许查询与自己完全相关的订单
if(!$this->user_id) $this->result('用户未登陆,拒绝查询!', [], 0);
$where[] = ['=', 'from_uid', $this->user_id];
$search['phone'] = $this->user_info->mobile;
if(!$search['phone']) $this->result('没有用户手机号,查询失败!', [], 0);
$where[] = ['=', 'from_mobile', $search['phone']];
if (isset($search['carno']) && !empty($search['carno'])) {