增加parseAllCategory的注释
This commit is contained in:
parent
af26dea19a
commit
a83dc46079
@ -98,7 +98,11 @@ const parsePageObj = async (dataArr) => {
|
||||
await record.save();
|
||||
}
|
||||
}
|
||||
// 获取所有分类下的数据列表
|
||||
/**
|
||||
* 根据所有分类获取书籍列表信息,sex值小于参数设定值或者分类小于设定值的分类数据不作处理
|
||||
* @param {number} sex 性别信息
|
||||
* @param {number} ltype 分类
|
||||
* */
|
||||
const parseAllCategory = async (sex, ltype) => {
|
||||
sex = sex || 1;
|
||||
ltype = ltype || 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user