Commit 8e64c95b authored by clone's avatar clone

bug

parent 5c952de2
......@@ -96,7 +96,7 @@ class Basic extends Controller
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1];
//过滤掉不需要验证token的接口
if (!in_array(trim($requestPath), $this->filterVerify)) {
// $this->tokenVerify();
$this->tokenVerify();
// $this->userAuth(trim($requestPath));
}
unset($this->params["AuthToken"]);
......
......@@ -121,6 +121,9 @@ class OBargainModel extends Model
->where($params)
->select();
$str = "";
if(count($data) <= 0){
return $str;
}
foreach ($data as $item){
$str .= " " . $item["industry_type"];
}
......
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