...
|
...
|
@@ -18,7 +18,7 @@ class UserCoupon extends Model |
|
|
|
|
|
public function getEndtimeTextAttr($value,$data)
|
|
|
{
|
|
|
$value = !empty($data['endtime'])?date('Y年m月d日到期'):'';
|
|
|
$value = !empty($data['endtime']) ? date('Y年m月d日到期',$data['endtime']) : '';
|
|
|
return $value;
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|