1.提交缺失的东西
This commit is contained in:
11
app/api/logic/ShopLogic.php
Normal file
11
app/api/logic/ShopLogic.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace app\api\logic;
|
||||
use think\facade\Db;
|
||||
class ShopLogic
|
||||
{
|
||||
public static function getShopList()
|
||||
{
|
||||
return Db::name('shop')->where("state",1)->select()->toArray();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user