Commit 1750c4e88b733804136852ddaa3c3379301dc810

Authored by 陆恒
1 parent 0e939415
Exists in master

提交

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/HttpServer/logic/httpserver.go
... ... @@ -746,14 +746,14 @@ func GetUserData(w http.ResponseWriter, r *http.Request) {
746 746 }
747 747  
748 748 func UserLogin(w http.ResponseWriter, r *http.Request) {
749   - logger.Info("%%%%%%%%%%%%%%%%path=%v", *r.URL)
  749 + /*logger.Info("%%%%%%%%%%%%%%%%path=%v", *r.URL)
750 750 for k, v := range r.Header {
751 751 logger.Info("*********************key=%v,value=%v", k, v)
752 752 }
753 753  
754 754 w.Header().Add("Access-Control-Allow-Headers", "")
755 755 w.Header().Set("Access-Control-Allow-Headers", "Authorization, Content-Length, X-CSRF-Token, Token,session,X_Requested_With,Accept, Origin, Host, Connection, Accept-Encoding, Accept-Language,DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Pragma")
756   -
  756 +*/
757 757 Uuid := 0
758 758 Token := ""
759 759 if len(r.Header) > 0 {
... ...