cqpCow 1 年間 前
コミット
09627a4154
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Service/BasicTypeService.php

+ 1 - 1
app/Service/BasicTypeService.php

@@ -60,7 +60,7 @@ class BasicTypeService extends Service
     public function basicTypeList($data, $user){
         $model = BasicType::TopClear($user,$data);
         $model = $model->where('del_time',0)
-            ->select('title','id','type')
+            ->select('title','id','type','code')
             ->orderby('id', 'asc');
 
         if(! empty($data['type'])) $model->where('type',$data['type']);