Commit 4bc34a76 by lixinming

no message

parent 4e3345b9
...@@ -39,12 +39,13 @@ async function login(req, res) { ...@@ -39,12 +39,13 @@ async function login(req, res) {
* @param res * @param res
*/ */
async function fuHuaQiBaseList(req, res) { async function fuHuaQiBaseList(req, res) {
let {lv, institutionalNature, industry} = req.body; let {lv, institutionalNature, industry, page} = req.body;
if (typeof lv != 'number' || typeof institutionalNature != 'number' || typeof industry != 'number') { if (typeof lv != 'number' || typeof institutionalNature != 'number' || typeof industry != 'number') {
throw new BizError(ERRORENUM.参数错误, lv, institutionalNature, industry); throw new BizError(ERRORENUM.参数错误, lv, institutionalNature, industry);
} }
if (!page || typeof page !="number") throw new BizError(ERRORENUM.参数错误, `page:${page}`);
let result = await baseBiz.fuHuaQiBaseList(lv, institutionalNature, industry); let result = await baseBiz.fuHuaQiBaseList(lv, institutionalNature, industry, page);
res.success(result); res.success(result);
} }
......
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