Files
OMS/app/ome/model/payment/shop.php
2025-12-28 23:13:25 +08:00

19 lines
574 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
class ome_mdl_payment_shop extends dbeav_model{
/**
* 获取ShopByPayBn
* @param mixed $pay_bn pay_bn
* @return mixed 返回结果
*/
public function getShopByPayBn($pay_bn){
$sql = 'SELECT pay_bn,name FROM sdb_ome_payment_shop AS P
LEFT JOIN sdb_ome_shop AS S ON P.shop_id=S.shop_id WHERE pay_bn=\''.addslashes($pay_bn).'\'';
$rows = $this->db->select($sql);
return $rows;
}
}