Commit ef42f730 authored by hujiebin's avatar hujiebin

Update user.go

parent e1c44c5d
......@@ -243,13 +243,13 @@ func SendUserRide(model *domain.Model, userId mysql.ID, rideId mysql.ID, day mys
}
// 获取指定cp对
func MGetUserCpPairs(model *domain.Model, userIds []mysql.ID) ([][2]mysql.ID, error) {
func MGetUserCpPairs(model *domain.Model, userIds []mysql.ID) ([][3]mysql.ID, error) {
type Response struct {
Code int `json:"code"`
Message string `json:"message"`
Data [][2]mysql.ID `json:"data"`
Data [][3]mysql.ID `json:"data"`
}
var res [][2]mysql.ID
var res [][3]mysql.ID
if len(userIds) <= 0 {
return res, nil
}
......
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