Browse Source

fixed bug

master
weigang 5 years ago
parent
commit
c662728036
  1. 5
      app/Model/v3/OrderMain.php

5
app/Model/v3/OrderMain.php

@ -70,6 +70,11 @@ class OrderMain extends Model
return date('Y-m-d H:i:s', $this->attributes['created_at']); return date('Y-m-d H:i:s', $this->attributes['created_at']);
} }
public function getUpdatedAtTextAttribute()
{
return date('Y-m-d H:i:s', $this->attributes['updated_at']);
}
public function getPayTimeTextAttribute() public function getPayTimeTextAttribute()
{ {
return date('Y-m-d H:i:s', $this->attributes['pay_time']); return date('Y-m-d H:i:s', $this->attributes['pay_time']);

Loading…
Cancel
Save