阶段性更新
This commit is contained in:
@@ -10,6 +10,13 @@ class UnionpayLog extends Model
|
||||
'out_source' => 'array',
|
||||
];
|
||||
|
||||
const STATUS_SUCCESS = 1;
|
||||
const STATUS_ERROR = 0;
|
||||
const STATUS = [
|
||||
self::STATUS_SUCCESS => '成功',
|
||||
self::STATUS_ERROR => '失败',
|
||||
];
|
||||
|
||||
public function coupon()
|
||||
{
|
||||
return $this->hasOne(Coupon::class, 'redemptionCode', 'mkt_code');
|
||||
|
||||
Reference in New Issue
Block a user