合并分支 'develop' 到 'master'
gxtoarray 查看合并请求 !501
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -45,7 +45,7 @@ class APublicModel extends Base | @@ -45,7 +45,7 @@ class APublicModel extends Base | ||
| 45 | //获取项目的询盘数量 | 45 | //获取项目的询盘数量 |
| 46 | $inquiryNumber = 0; | 46 | $inquiryNumber = 0; |
| 47 | $countInfo = DB::table('gl_count')->where('project_id', $project_id)->orderBy('id', 'desc') | 47 | $countInfo = DB::table('gl_count')->where('project_id', $project_id)->orderBy('id', 'desc') |
| 48 | - ->first()->toArray(); | 48 | + ->first(); |
| 49 | if(!empty($countInfo)){ | 49 | if(!empty($countInfo)){ |
| 50 | $inquiryNumber = $countInfo['inquiry_num']; | 50 | $inquiryNumber = $countInfo['inquiry_num']; |
| 51 | } | 51 | } |
-
请 注册 或 登录 后发表评论