XMLWAN 3 anni fa
parent
commit
a582e4b81a

+ 4 - 4
controllers/xcx_mobile_api_controller.go/xcx_api_controller.go Vedi 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,