正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -65,7 +65,7 @@ class GeoQuestionResLogic extends BaseLogic | @@ -65,7 +65,7 @@ class GeoQuestionResLogic extends BaseLogic | ||
| 65 | // $q->whereRaw('JSON_LENGTH(keywords) > 0') | 65 | // $q->whereRaw('JSON_LENGTH(keywords) > 0') |
| 66 | // ->orWhereRaw('JSON_LENGTH(url) > 0'); | 66 | // ->orWhereRaw('JSON_LENGTH(url) > 0'); |
| 67 | // }); | 67 | // }); |
| 68 | - $data = $query->orderByRaw('CHAR_LENGTH(question) ASC')->orderBy($order,$sort)->paginate($row, $filed, 'page', $page);; | 68 | + $data = $query->orderBy($order,$sort)->orderByRaw('CHAR_LENGTH(question) ASC')->paginate($row, $filed, 'page', $page); |
| 69 | return $this->success($data); | 69 | return $this->success($data); |
| 70 | } | 70 | } |
| 71 | 71 |
-
请 注册 或 登录 后发表评论