fix: bug修复
This commit is contained in:
@@ -9,7 +9,6 @@ use think\TransDb;
|
||||
class Index extends BaseController {
|
||||
|
||||
public function index() {
|
||||
|
||||
// 如果是手机端进官网
|
||||
if (isMobile()) {
|
||||
if ($_SERVER['HTTP_HOST']=="www.orico.com.cn" || $_SERVER['HTTP_HOST']=="orico.com.cn") {
|
||||
|
||||
@@ -159,7 +159,6 @@ class Product extends BaseController {
|
||||
}
|
||||
|
||||
public function detail($id = 0, $color = '') {
|
||||
|
||||
|
||||
if ($id > 0) {
|
||||
$detail = Loader::model('Product')->where(['stat' => 0, 'is_show' => 0, 'country_code' => $this->country_code, 'id' => $id])->find();
|
||||
|
||||
Reference in New Issue
Block a user