Commit 3979554f authored by clone's avatar clone

跨域

parent 7113da60
......@@ -45,6 +45,8 @@ class Shop extends Basic
*/
public function getShopList()
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
/*$params = array(
"site_area" => 4, //来源 1c首页 2c搜索 3b首页 4b搜索 5b报备
// "title" => "vv", //1,2 external_title ,3,4internal_title
......@@ -66,8 +68,6 @@ class Shop extends Basic
"pageNo" => 1,
"pageSize" => 15
);*/
$params = $this->params;
$conditions = [];
if (empty($params['site_area'])) {
return $this->response("101", "请求来源不能为空");
......
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