优化代码
This commit is contained in:
@@ -767,7 +767,6 @@ class Index extends ApiRest
|
|||||||
$data = $eva_model->goodsEvaluateList($input['goods_id'], $input['type'], $input['is_goods']);
|
$data = $eva_model->goodsEvaluateList($input['goods_id'], $input['type'], $input['is_goods']);
|
||||||
|
|
||||||
return $this->success($data);
|
return $this->success($data);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -784,7 +783,6 @@ class Index extends ApiRest
|
|||||||
$tmpl = $tmpl_model->where(['uniacid' => $this->_uniacid])->select()->toArray();
|
$tmpl = $tmpl_model->where(['uniacid' => $this->_uniacid])->select()->toArray();
|
||||||
|
|
||||||
return $this->success($tmpl);
|
return $this->success($tmpl);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class IndexClaim extends ApiRest
|
|||||||
|
|
||||||
);
|
);
|
||||||
// 测试环境 不调取
|
// 测试环境 不调取
|
||||||
if (is_local()) {
|
if (!is_local()) {
|
||||||
publisher(json_encode($push_data, true));
|
publisher(json_encode($push_data, true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user