| 123456789101112131415161718192021222324 |
- <?php
- namespace app\admin\model\dao;
- use think\facade\Cache;
- use think\facade\Db;
- class ShopGoodsSpecRelation extends BaseDao
- {
- public static $table = "db_shop_goods_spec_relation";
- public function __construct()
- {
- }
- public static function getArrListByGoodsId($id)
- {
- return Db::table(self::$table)->where(['goods_id' => $id])->select()->toArray();
- }
- }
|