|
@@ -169,7 +169,7 @@ func (this *ClarksonsDataController) EditClassify() {
|
|
|
br.ErrMsg = "参数解析失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
- if req.BaseFromClassifyId <= 0 {
|
|
|
+ if req.BaseFromClassifyId < 0 {
|
|
|
br.Msg = "参数错误"
|
|
|
return
|
|
|
}
|
|
@@ -1518,7 +1518,6 @@ func (this *ClarksonsDataController) ClarksonsData() {
|
|
|
pars = append(pars, "%"+keyword+"%")
|
|
|
}
|
|
|
|
|
|
-
|
|
|
sci99List, err := data_manage.GetClarksonsIndex(condition, pars)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取数据失败"
|
|
@@ -1648,4 +1647,4 @@ func (this *ClarksonsDataController) IndexPageList() {
|
|
|
br.Success = true
|
|
|
br.Msg = "获取成功"
|
|
|
br.Data = resp
|
|
|
-}
|
|
|
+}
|