时间处理

pull/1/head
limu 1 year ago
parent fd39de8ced
commit 4d5cff2662
  1. 1
      app/api/model/user/GoodSource.php

@ -40,6 +40,7 @@ class GoodSource extends GoodSourceModel
return false;
}
$data['imgage_ids'] = json_encode($data['imgage_ids']);
$data['deliver_at'] = strtotime($data['deliver_at']);
return $this->save(array_merge($data, [
'user_id' => $userId,
'store_id' => $store_id,

Loading…
Cancel
Save