|
|
@@ -80,7 +80,7 @@ class LiveOrderClass extends BaseClass
|
|
|
|
|
|
public static function addCustom($params, $custom, $live)
|
|
|
{
|
|
|
- if ($custom->mainId == $custom->ownMainId) {
|
|
|
+ if ($custom->mainId == $live->mainId) {
|
|
|
util::fail('自己的店,不能添加');
|
|
|
}
|
|
|
$customId = $custom->id ?? 0;
|