update
This commit is contained in:
parent
515d53d42e
commit
64d3a7b857
|
@ -35,6 +35,7 @@
|
||||||
return $this->fail('种植信息错误');
|
return $this->fail('种植信息错误');
|
||||||
}
|
}
|
||||||
$data['pic'] = json_decode($data['pic'],true);
|
$data['pic'] = json_decode($data['pic'],true);
|
||||||
|
$data['plant_date'] = date('Y-m-d H:i:s',$data['plant_date']);
|
||||||
return $this->success('请求成功',$data->toArray());
|
return $this->success('请求成功',$data->toArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue