Documentation ¶
Overview ¶
*
- Copyright 2015 @ 56x.net.
- name : get_c
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : partner_c.go
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : partner_c.go
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : model
- author : jarryliu
- date : 2015-10-31 00:35
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : base_c
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ 56x.net.
- name : rest_server.go
- author : jarryliu
- date : -- :
- description :
- history :
Index ¶
- Variables
- func ApiTest(c echo.Context) error
- func CheckApiPermission(apiId string, secret string) (bool, int64)
- func DelMerchantCache(mchId int)
- func GetMemberId(c echo.Context) int64
- func GetMerchantApiInfo(mchId int64) *proto.SMerchantApiInfo
- func GetMerchantIdByApiId(apiId string) int64
- func GetMerchantIdByHost(host string) int
- func Run(ch chan bool, app gof.App, port int)
- type AsyncResult
- type MemberC
- func (mc *MemberC) Account(c echo.Context) error
- func (mc *MemberC) Async(c echo.Context) error
- func (mc *MemberC) Disconnect(c echo.Context) error
- func (mc *MemberC) Get(c echo.Context) error
- func (mc *MemberC) Login(c echo.Context) error
- func (mc *MemberC) Ping(c echo.Context) error
- func (mc *MemberC) Summary(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( API_DOMAIN string API_HOST_CHK = false // 必须匹配Host PathPrefix = "/go2o_api_v1" )
Functions ¶
func CheckApiPermission ¶
检查是否有权限
func DelMerchantCache ¶
func DelMerchantCache(mchId int)
Types ¶
type AsyncResult ¶
type MemberC ¶
type MemberC struct { }
会员登录后才能调用接口
func (*MemberC) Disconnect ¶
断开 todo: token不允许删除,只能自动过期
Click to show internal directories.
Click to hide internal directories.