|
|
|
|
915
|
|
915
|
|
916
|
func (this *XcxApiController) GetStoryScoreList() {
|
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
|
this.ServeSuccessJSON(map[string]interface{}{
|
922
|
this.ServeSuccessJSON(map[string]interface{}{
|
923
|
"list": list,
|
923
|
"list": list,
|
924
|
"total": total,
|
924
|
"total": total,
|