修改获取店铺类型数据
This commit is contained in:
parent
8fefeed5f6
commit
9c0f4348ff
@ -610,8 +610,7 @@ class DistributionLogic extends Logic
|
|||||||
// 获取店铺类型
|
// 获取店铺类型
|
||||||
public static function scheme()
|
public static function scheme()
|
||||||
{
|
{
|
||||||
$store_type_status = ConfigServer::get('distribution','store_type', 0);
|
$store_type_status = ConfigServer::get('distribution','store_type');
|
||||||
|
|
||||||
$sort_type = array();
|
$sort_type = array();
|
||||||
if ($store_type_status == 1) {
|
if ($store_type_status == 1) {
|
||||||
$sort_type = DistributionStoreType::where(['is_delete' => 0])
|
$sort_type = DistributionStoreType::where(['is_delete' => 0])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user