|
@@ -21,7 +21,6 @@ import (
|
|
|
|
|
|
type ResourcePack struct {
|
|
|
*xweb.Action
|
|
|
- tes xweb.Mapper `xweb:"/tes"` //测试
|
|
|
createOrder xweb.Mapper `xweb:"/resourcePack/createOrder"` //线上自助数据包充值-创建订单
|
|
|
account xweb.Mapper `xweb:"/resourcePack/account"` //个人账户
|
|
|
recordList xweb.Mapper `xweb:"/resourcePack/recordList"` //“资源包”使用记录
|
|
@@ -33,12 +32,6 @@ const (
|
|
|
METHOD = "POST"
|
|
|
)
|
|
|
|
|
|
-func (this *ResourcePack) Tes() {
|
|
|
- userid, _ := this.GetSession("userId").(string)
|
|
|
- ok := entity.FilepackEndtime(userid)
|
|
|
- log.Println(ok)
|
|
|
-}
|
|
|
-
|
|
|
type OrderResult struct {
|
|
|
Status int `json:"status"` //返回状态 0失败 1成功
|
|
|
OrderCode string `json:"order_code"` //订单编号
|