Browse Source

体积小

XMLWAN 3 years ago
parent
commit
a582e4b81a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      controllers/xcx_mobile_api_controller.go/xcx_api_controller.go

+ 4 - 4
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go View File

@@ -915,10 +915,10 @@ func (this *XcxApiController) GetArticListDetail() {
915 915
 
916 916
 func (this *XcxApiController) GetStoryScoreList() {
917 917
 
918
-	//page, _ := this.GetInt64("page")
919
-	//limit, _ := this.GetInt64("limit")
920
-	//activity_id, _ := this.GetInt64("activity_id")
921
-	list, total, _ := service.GetStoryScoreList(6, 1, 10)
918
+	page, _ := this.GetInt64("page")
919
+	limit, _ := this.GetInt64("limit")
920
+	activity_id, _ := this.GetInt64("activity_id")
921
+	list, total, _ := service.GetStoryScoreList(activity_id, page, limit)
922 922
 	this.ServeSuccessJSON(map[string]interface{}{
923 923
 		"list":  list,
924 924
 		"total": total,