1
This commit is contained in:
parent
23e9a20238
commit
d49f221046
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user