mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-02 03:48:47 +08:00
商品类型判断优化
This commit is contained in:
parent
6ddfb2255f
commit
c9664d0eca
@ -796,6 +796,12 @@ function IsGoodsSiteTypeConsistent($site_type)
|
||||
return 1;
|
||||
}
|
||||
|
||||
// 商品类型为 销售+自提、包含其中
|
||||
if($site_type == 4 && in_array($common_site_type, [0, 2]))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
// 不一致
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user