| 123456789101112131415161718192021222324252627282930313233 | <?phpnamespace app\admin\model;use support\Db;use support\Model;/** * 健康订单 * Class Users * @package app\admin\model */class HealthyOrderProduct extends Model{    /**     *     * The table associated with the model.     *     * @var string     */    protected $table = 'healthy_order_product';    public $timestamps = false;    //时间格式    public function getOrderCreateTimeAttribute($value)    {        return date('Y-m-d H:i:s', $value);    }}
 |