Browse Source

feat:项目历程

wangshan 2 years ago
parent
commit
a556a079b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/modules/bigmember/src/entity/followProject.go

+ 1 - 1
src/jfw/modules/bigmember/src/entity/followProject.go

@@ -256,7 +256,7 @@ func (this *ProjectFollow) GetProjectDetailBySid(sid string) (res map[string]int
 	thisList := []map[string]interface{}{}
 	tmpList, ok := finalDate["list"].([]interface{})
 	if ok && len(tmpList) > 0 {
-		for i := len(qutil.ObjArrToMapArr(tmpList)) - 1; i > 0; i-- {
+		for i := len(qutil.ObjArrToMapArr(tmpList)) - 1; i >= 0; i-- {
 			if len(thisList) >= 50 {
 				break
 			}