aa
This commit is contained in:
@@ -13,7 +13,6 @@ import (
|
||||
"github.com/astaxie/beego/client/orm"
|
||||
"github.com/astaxie/beego/server/web"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"reflect"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -81,7 +80,6 @@ func (c *ApiController) CallOpenAPI() {
|
||||
dataMap = make(map[string]interface{})
|
||||
now = time.Now().Unix()
|
||||
parms, result []reflect.Value
|
||||
urls url.Values
|
||||
app = &model.Apps{}
|
||||
db = dao.GetDB()
|
||||
)
|
||||
@@ -142,9 +140,7 @@ func (c *ApiController) CallOpenAPI() {
|
||||
}
|
||||
//判断app_id和sign匹配end
|
||||
//call
|
||||
urls, _ = c.Input()
|
||||
globals.SugarLogger.Debugf("Begin API CallOpenAPI urls......", urls)
|
||||
dataMap = utils.URLValues2Map(urls)
|
||||
globals.SugarLogger.Debugf("Begin API CallOpenAPI urls......", c.Data)
|
||||
delete(dataMap, keyMethod)
|
||||
delete(dataMap, keyTimestamp)
|
||||
delete(dataMap, keySign)
|
||||
|
||||
Reference in New Issue
Block a user