优化代码
This commit is contained in:
@@ -233,7 +233,7 @@ class Index extends ApiRest
|
||||
public function weather()
|
||||
{
|
||||
$input = $this->_param;
|
||||
$dis = [
|
||||
$dis = [
|
||||
|
||||
'uniacid' => $this->_uniacid
|
||||
];
|
||||
@@ -767,7 +767,6 @@ class Index extends ApiRest
|
||||
$data = $eva_model->goodsEvaluateList($input['goods_id'], $input['type'], $input['is_goods']);
|
||||
|
||||
return $this->success($data);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -784,7 +783,6 @@ class Index extends ApiRest
|
||||
$tmpl = $tmpl_model->where(['uniacid' => $this->_uniacid])->select()->toArray();
|
||||
|
||||
return $this->success($tmpl);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user