Compare commits

...

2 Commits

Author SHA1 Message Date
weiz 3a1d9b7eab Merge pull request 'update' (#40) from zhangwei into dev
Reviewed-on: #40
2023-12-09 14:46:08 +08:00
weiz 64d3a7b857 update 2023-12-09 14:45:33 +08:00
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@
return $this->fail('种植信息错误');
}
$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());
}