核销后核销码处理
This commit is contained in:
parent
95ff86b3ae
commit
c2119f8132
@ -409,11 +409,13 @@ class OrderLogic extends BaseLogic
|
|||||||
Db::startTrans();
|
Db::startTrans();
|
||||||
try {
|
try {
|
||||||
StoreOrder::update([
|
StoreOrder::update([
|
||||||
|
'verify_code'=>$params['verify_code'].'-1',
|
||||||
'status' => OrderEnum::RECEIVED_GOODS,
|
'status' => OrderEnum::RECEIVED_GOODS,
|
||||||
'is_writeoff' => OrderEnum::IS_OK,
|
'is_writeoff' => OrderEnum::IS_OK,
|
||||||
'update_time' => time(),
|
'update_time' => time(),
|
||||||
], ['id' => $data['id']]);
|
], ['id' => $data['id']]);
|
||||||
(new StoreOrderCartInfo())->update([
|
(new StoreOrderCartInfo())->update([
|
||||||
|
'verify_code'=>$params['verify_code'].'-1',
|
||||||
'writeoff_time' => time(),
|
'writeoff_time' => time(),
|
||||||
'is_writeoff' => YesNoEnum::YES,
|
'is_writeoff' => YesNoEnum::YES,
|
||||||
'update_time' => time(),
|
'update_time' => time(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user