浏览代码

体积小

XMLWAN 3 年前
父节点
当前提交
a582e4b81a
共有 1 个文件被更改,包括 4 次插入4 次删除
  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 查看文件

@@ -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,