|
@@ -47,7 +47,7 @@ class PaymentBusiness extends BusinessResult
|
|
|
public function getShopInfo(string $tableName,int $shopId)
|
|
|
{
|
|
|
$tableName = self::ORDER_SHOP[$tableName];
|
|
|
- return Db::name($tableName)->where(['shop_id' => $shopId])->find();
|
|
|
+ return Db::name($tableName)->where(['id' => $shopId])->find();
|
|
|
}
|
|
|
|
|
|
/**
|