mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 17:50:58 +00:00
modify the comments
This commit is contained in:
parent
50a21d60c1
commit
c83a2a0925
@ -13,6 +13,7 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
// Package apiauth provides handlers to enable apiauth support.
|
// Package apiauth provides handlers to enable apiauth support.
|
||||||
|
//
|
||||||
// Simple Usage:
|
// Simple Usage:
|
||||||
// import(
|
// import(
|
||||||
// "github.com/astaxie/beego"
|
// "github.com/astaxie/beego"
|
||||||
@ -34,7 +35,9 @@
|
|||||||
//
|
//
|
||||||
// beego.InsertFilter("*", beego.BeforeRouter,apiauth.APIAuthWithFunc(getAppSecret, 360))
|
// beego.InsertFilter("*", beego.BeforeRouter,apiauth.APIAuthWithFunc(getAppSecret, 360))
|
||||||
//
|
//
|
||||||
// in the request user should include these params in the query
|
// Infomation:
|
||||||
|
//
|
||||||
|
// In the request user should include these params in the query
|
||||||
//
|
//
|
||||||
// 1. appid
|
// 1. appid
|
||||||
//
|
//
|
||||||
@ -44,7 +47,7 @@
|
|||||||
//
|
//
|
||||||
// get the signature use apiauth.Signature()
|
// get the signature use apiauth.Signature()
|
||||||
//
|
//
|
||||||
// >>> should use url.QueryEscape()
|
// when you send to server remember use url.QueryEscape()
|
||||||
//
|
//
|
||||||
// 3. timestamp:
|
// 3. timestamp:
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user