mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Config.php
This commit is contained in:
parent
f56e0a3665
commit
00337021d7
@ -28,7 +28,7 @@ class Config extends Auth
|
|||||||
}
|
}
|
||||||
$map = ['status' => 1, 'deleted' => 0];
|
$map = ['status' => 1, 'deleted' => 0];
|
||||||
$query = $this->app->db->name('ShopPayment')->where($map)->whereIn('type', $types);
|
$query = $this->app->db->name('ShopPayment')->where($map)->whereIn('type', $types);
|
||||||
$collect = $query->order('sort desc,id desc')->field('code,name,type')->select();
|
$collect = $query->order('sort desc,id desc')->field('type,code,name')->select();
|
||||||
$this->success('获取支付参数数据', $collect->toArray());
|
$this->success('获取支付参数数据', $collect->toArray());
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user