增加提货数量+领取时间和提货时间
This commit is contained in:
@@ -23,6 +23,10 @@ class AreaCode extends Model
|
||||
self::STATUS_SIGN => '已核销',
|
||||
];
|
||||
|
||||
public $dates=[
|
||||
'get_at','pick_at'
|
||||
];
|
||||
|
||||
|
||||
/**
|
||||
* Notes: 生成人-管理人
|
||||
@@ -58,7 +62,8 @@ class AreaCode extends Model
|
||||
{
|
||||
$this->order->state = Order::STATUS_SIGNED;
|
||||
$this->order->save();
|
||||
$this->status = self::STATUS_SIGN;
|
||||
$this->status = self::STATUS_SIGN;
|
||||
$this->pick_at = now();
|
||||
$this->save();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user