Commit 0363e892 authored by haoyanbin's avatar haoyanbin

Matchlist

parent 1d055d5f
......@@ -99,7 +99,7 @@ func (e OrgMatchEvaluate) GetPageMatch(c *gin.Context) {
reply.MatchImg = imgList
mvList := make([]cDto.Wonderful, 0)
err = s.GetPageWonderful(replyGetMatchInfo.EvaluateId, &imgList, 2)
err = s.GetPageWonderful(replyGetMatchInfo.EvaluateId, &mvList, 2)
if err != nil {
e.Error(500, err, fmt.Sprintf("获取比赛球员信息 失败,\r\n失败信息 %s", err.Error()))
return
......
package apis
import (
"fmt"
"github.com/gin-gonic/gin/binding"
sService "go-admin/app/admin/service"
sDto "go-admin/app/admin/service/dto"
......@@ -278,7 +277,6 @@ func (e OrgUser) UpdateStatus(c *gin.Context) {
func (e OrgUser) ResetPwd(c *gin.Context) {
s := service.OrgUser{}
req := dto.ResetPwdReq{}
fmt.Println(req)
err := e.MakeContext(c).
MakeOrm().
Bind(&req, binding.JSON).
......
......@@ -24,7 +24,7 @@ type PageMatchInfo struct {
}
type Wonderful struct {
Id string `json:"精彩时刻id"`
Id string `json:"id" comment:"精彩时刻id"`
WonderfulUrl string `json:"wonderfulUrl" comment:"精彩时刻url"`
WonderfulTitle string `json:"wonderfulTitle" comment:"精彩时刻标题"`
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment