Documentation ¶
Overview ¶
*
- Copyright 2015 @ S1N1 Team.
- name : apI_portal
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ S1N1 Team.
- name : base_c
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ S1N1 Team.
- name : partner_c.go
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ S1N1 Team.
- name : partner_c.go
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2014 @ S1N1 Team.
- name :
- author : jarryliu
- date : 2014-02-05 21:53
- description :
- history :
*
- Copyright 2014 @ S1N1 Team.
- name :
- author : jarryliu
- date : 2014-02-05 21:53
- description :
- history :
Index ¶
- Variables
- func ApiTest(ctx *web.Context)
- func CheckApiPermission(apiId string, secret string) (ok bool, partnerId int)
- func Handle(ctx *web.Context)
- type BaseC
- func (this *BaseC) CheckMemberToken(ctx *web.Context) bool
- func (this *BaseC) ErrorOutput(ctx *web.Context, err string)
- func (this *BaseC) GetMemberId(ctx *web.Context) int
- func (this *BaseC) GetPartnerId(ctx *web.Context) int
- func (this *BaseC) JsonOutput(ctx *web.Context, v interface{})
- func (this *BaseC) RequestEnd(ctx *web.Context)
- func (this *BaseC) Requesting(ctx *web.Context) bool
- type MemberC
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CheckApiPermission ¶
检查是否有权限
Types ¶
type BaseC ¶
type BaseC struct { }
func (*BaseC) CheckMemberToken ¶
检查会员令牌信息
func (*BaseC) RequestEnd ¶
Click to show internal directories.
Click to hide internal directories.