|
|
@@ -209,7 +209,10 @@ class WorkController extends BaseController
|
|
|
WorkClass::finish($work);
|
|
|
$transaction->commit();
|
|
|
|
|
|
- WorkClass::print($work, $this->shop, false);
|
|
|
+ //美团的订单完成时不需要打标签
|
|
|
+ if ($work->fromType != dict::getDict('fromType', 'mt')) {
|
|
|
+ WorkClass::print($work, $this->shop, false);
|
|
|
+ }
|
|
|
|
|
|
util::complete();
|
|
|
} catch (\Exception $e) {
|