Commit e58ff790 authored by clone's avatar clone

bug

parent bff4778f
......@@ -223,13 +223,13 @@ class Shop extends Basic
public function getShopDetail()
{
header('Access-Control-Allow-Origin:*');
$params = array(
/* $params = array(
"id" => 3084,
"site_area" => 3, //1.c端 3.b端
// "site_area" => 1, //1.c端 3.b端
"site_area" => 1, //1.c端 3.b端
//"user_id" => 2 //if c端 用户登录后传入user_id
);
// $params = $this->params;
);*/
$params = $this->params;
$conditions = [];
if (empty($params['id'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment