终结解决方案 0、配置的位置:window.HMFAppConfig = { 1、开启log !HMFAppConfig.isEnableConsoleLog 2、各种socket搜索正则 /\w+websocket"\) t[e[10] = "MsgID_ConnClose_Notice"] = 10; 游戏配置可能 window.WPGameData = { //各种log HMFUtils.clog = function HMFUtils.log = function(e) HMFAppSetting.showLog cc.log cc.vv.ConsoleLog = { console.log error warm window.HMFRequest = cc.Class({ window.HMFHTTPClient = { //不知道是啥的日志 BJPVPConsoleLog = //网络请求 this._send = function this.Send = this._send; sendByPromise: function(e) { e.prototype.send = function(e) { //登陆相关 HMFHTTPClient.phoneNumLogin = function(e) { //UI? 输入框的string password: this.setNewPassWordInputPass.string, passwordRe: this.setNewPassWordConfirmPass.string