...
|
...
|
@@ -436,6 +436,7 @@ class Index extends Api |
|
|
'king_type' => $arr['king_type'], //KingType
|
|
|
'redio_time' => date('Y-m-d H:i:s', $arr['redio_time']), //维修时间
|
|
|
'ok_time' => date('Y-m-d H:i:s', $arr['ok_time']), //修复时间
|
|
|
'yuji' => date('Y-m-d H:i:s', $arr['yuji']), //预计修复时间
|
|
|
];
|
|
|
$this->success('成功', $list);
|
|
|
}
|
...
|
...
|
@@ -552,6 +553,7 @@ class Index extends Api |
|
|
* @ApiHeaders (name="id", type=int, required=true, description="报修单ID")
|
|
|
* @ApiHeaders (name="type", type=int, required=true, description="设备价格:0=不需要更换设备,1=需要更换设备")
|
|
|
* @ApiHeaders (name="con", type=int, required=true, description="维修情况")
|
|
|
* @ApiHeaders (name="time", type=int, required=true, description="时间戳")
|
|
|
* @ApiReturnParams (name="msg", type="string", required=true, sample="返回成功")
|
|
|
* @ApiReturn ({
|
|
|
"code":"1",
|
...
|
...
|
@@ -576,6 +578,7 @@ class Index extends Api |
|
|
'price' => $param['type'],
|
|
|
'status' => $status,
|
|
|
'repair_type' => 1,
|
|
|
'yuji' => $param['time'] / 1000
|
|
|
]
|
|
|
);
|
|
|
if ($res) {
|
...
|
...
|
|