|
@@ -78,7 +78,6 @@ func (m *Front) WxKeyset(tpl string) error {
|
|
|
func (m *Front) WxKeysetAjaxReq() {
|
|
|
defer util.Catch()
|
|
|
userId, _ := m.GetSession("userId").(string)
|
|
|
- positionType := util.Int64All(m.GetSession("positionType"))
|
|
|
if userId == "" {
|
|
|
m.ServeJson(map[string]interface{}{
|
|
|
"flag": false,
|
|
@@ -86,9 +85,6 @@ func (m *Front) WxKeysetAjaxReq() {
|
|
|
return
|
|
|
}
|
|
|
types := "o_jy"
|
|
|
- if positionType == 1 {
|
|
|
- types = "o_entniche"
|
|
|
- }
|
|
|
//增加锁,防止map读写
|
|
|
// lock, _ := m.Session().Get("Lock").(*sync.Mutex)
|
|
|
// lock.Lock()
|