作者 tangxuhui

修正 ,开发环境配置

@@ -17,9 +17,9 @@ HTTPSKeyFile = "conf/fjmaimaimai.com_rsa.key" @@ -17,9 +17,9 @@ HTTPSKeyFile = "conf/fjmaimaimai.com_rsa.key"
17 ##数据库连接 17 ##数据库连接
18 # sqlconn ="${MYSQL_CONN||root:sutianxia2015@tcp(115.29.205.99:3306)/opportunity?charset=utf8&loc=Asia%2FShanghai}" 18 # sqlconn ="${MYSQL_CONN||root:sutianxia2015@tcp(115.29.205.99:3306)/opportunity?charset=utf8&loc=Asia%2FShanghai}"
19 mysql_user = "${MYSQL_USER||root}" 19 mysql_user = "${MYSQL_USER||root}"
20 -mysql_password = "${MYSQL_PASSWORD||sutianxia2018}"  
21 -mysql_host = "${MYSQL_HOST||101.37.68.23}"  
22 -mysql_port = "${MYSQL_PORT||3306}" 20 +mysql_password = "${MYSQL_PASSWORD||eagle1010}"
  21 +mysql_host = "${MYSQL_HOST||114.55.200.59}"
  22 +mysql_port = "${MYSQL_PORT||32306}"
23 mysql_db_name = "${MYSQL_DB_NAME||opportunity_dev}" 23 mysql_db_name = "${MYSQL_DB_NAME||opportunity_dev}"
24 ##redis相关配置 24 ##redis相关配置
25 redis_add = "${REDIS_HOST||127.0.0.1}" 25 redis_add = "${REDIS_HOST||127.0.0.1}"
@@ -700,7 +700,7 @@ func EmployeeChangePhone(data EmployeeChangePhoneData) error { @@ -700,7 +700,7 @@ func EmployeeChangePhone(data EmployeeChangePhoneData) error {
700 var oldUserAuthData *models.UserAuth 700 var oldUserAuthData *models.UserAuth
701 oldUserAuthData, err = models.GetUserAuthByUser(oldUser.Id) 701 oldUserAuthData, err = models.GetUserAuthByUser(oldUser.Id)
702 if err != nil { 702 if err != nil {
703 - log.Warn("找到userAuth数据,user_id=%d", oldUser.Id) 703 + log.Warn("找到userAuth数据,user_id=%d", oldUser.Id)
704 } else { 704 } else {
705 oldUserAuthData.AccessToken = "" 705 oldUserAuthData.AccessToken = ""
706 oldUserAuthData.RefreshToken = "" 706 oldUserAuthData.RefreshToken = ""