浏览代码

fix get _id

ifah
父节点
当前提交
14ec42b560
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      app/Http/Controllers/Controller.php

+ 1
- 1
app/Http/Controllers/Controller.php 查看文件

@@ -18,7 +18,7 @@ class Controller extends BaseController

$result = array();
$untaggedform = Form::where('customer_category', null)->get();
$work_order = WorkOrder::where('_id', $untaggedform->_id)->get();
$work_order = WorkOrder::where('_id', $untaggedform->id)->get();

foreach ($work_order as $key => $wo) {
array_push($result, array(

正在加载...
取消
保存