diff --git a/rpc/user.go b/rpc/user.go index 90c64ebbc648c5c1be74afb36a063252a55b805c..de22c8fae37d9c96d111ba93be740f572f4eb5de 100644 --- a/rpc/user.go +++ b/rpc/user.go @@ -136,6 +136,11 @@ func GetUserBagId(model *domain.Model, bagId mysql.ID) (CvUserBag, error) { } // 发送用户背包 +// param resType 1:礼物 +// param resId 礼物id +// param count 数量 +// param day 天数 +// param reason 原因 func SendUserBag(model *domain.Model, userId mysql.ID, resType, resId mysql.ID, count, day mysql.Num, reason string) error { type Response struct { Code int `json:"code"`