This commit is contained in:
aozhiwei 2024-11-06 13:09:50 +08:00
parent 23e9a20238
commit d49f221046

View File

@ -1,6 +1,9 @@
package activity
import (
"main/constant"
"main/common"
"main/vo"
"github.com/gin-gonic/gin"
)
@ -8,4 +11,12 @@ type ActivityApi struct {
}
func (this *ActivityApi) RollDice(c *gin.Context) {
s := c.MustGet(constant.SESSION_KEY).(common.Session)
if s == nil {
return
}
rspObj := struct {
vo.BaseVo
}{}
c.JSON(200, rspObj)
}