Authored by 郭成尧

'搜索筛选跨域控制'

... ... @@ -153,7 +153,7 @@ let fuzzyDatas = (req, res, next) => {
* ajax 商品数据请求
*/
const search = (req, res, next) => {
res.header("Access-Control-Allow-Origin", "*");
res.header('Access-Control-Allow-Origin', '*');
let params = Object.assign({}, req.query);
... ... @@ -169,7 +169,7 @@ const search = (req, res, next) => {
* 筛选
*/
let filter = (req, res, next) => {
res.header("Access-Control-Allow-Origin", "*");
res.header('Access-Control-Allow-Origin', '*');
let params = Object.assign({}, req.query);
... ...