瀏覽代碼

compound

master
Siti Rahayu 5 年之前
父節點
當前提交
a10ee86c96
共有 1 個檔案被更改,包括 10 行新增0 行删除
  1. 10
    0
      app/Http/Controllers/Api/RestfulapiController.php

+ 10
- 0
app/Http/Controllers/Api/RestfulapiController.php 查看文件

@@ -118,6 +118,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Pelbagai_JPB'){
array_push($data,array(
@@ -149,6 +151,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Pelbagai_LESEN'){
array_push($data,array(
@@ -180,6 +184,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Pelbagai_PA'){
array_push($data,array(
@@ -212,6 +218,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}else if($c->jenis == 'Parkir'){
array_push($data,array(
@@ -240,6 +248,8 @@ class RestfulapiController extends BaseController
"status" => $c->status,
"updated_at" => $c->updated_at->toDateTimeString(),
"created_at" => $c->created_at->toDateTimeString(),
"notice_created" => $c->notice_created,
"compound_created" => $c->cpn_created,
));
}

Loading…
取消
儲存