作者 陈志颖

test:测试修改手机号

@@ -472,7 +472,7 @@ func (service SyncEmployeeService) changePhone(data ChangePhoneData) error { @@ -472,7 +472,7 @@ func (service SyncEmployeeService) changePhone(data ChangePhoneData) error {
472 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error()) 472 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error())
473 } 473 }
474 474
475 - // 更新合伙人手机号 475 + // TODO 更新合伙人手机号
476 if err = pDao.UpdatePartnerPhone(data.OldPhone, data.NewPhone); err != nil { 476 if err = pDao.UpdatePartnerPhone(data.OldPhone, data.NewPhone); err != nil {
477 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error()) 477 return lib.ThrowError(lib.INTERNAL_SERVER_ERROR, err.Error())
478 } 478 }
@@ -4,9 +4,9 @@ import "os" @@ -4,9 +4,9 @@ import "os"
4 4
5 var POSTGRESQL_DB_NAME = "partner_dev" 5 var POSTGRESQL_DB_NAME = "partner_dev"
6 var POSTGRESQL_USER = "postgres" 6 var POSTGRESQL_USER = "postgres"
7 -var POSTGRESQL_PASSWORD = "eagle1010" // eagle1010 1993618jack  
8 -var POSTGRESQL_HOST = "114.55.200.59" // 114.55.200.59 127.0.0.1  
9 -var POSTGRESQL_PORT = "31543" // 31543 5432 7 +var POSTGRESQL_PASSWORD = "eagle1010"
  8 +var POSTGRESQL_HOST = "114.55.200.59"
  9 +var POSTGRESQL_PORT = "31543"
10 var DISABLE_CREATE_TABLE = false 10 var DISABLE_CREATE_TABLE = false
11 var DISABLE_SQL_GENERATE_PRINT = false 11 var DISABLE_SQL_GENERATE_PRINT = false
12 12