...
|
...
|
@@ -367,7 +367,7 @@ func CompaniesLogin(header *protocol.RequestHeader, request *protocolx.CenterCom |
|
|
var (
|
|
|
transactionContext, _ = factory.CreateTransactionContext(nil)
|
|
|
//imInfo *domain.ImInfo
|
|
|
loginSvr = domain_service.NewPgLoginService(transactionContext)
|
|
|
loginSvr = domain_service.NewPgLoginService(transactionContext)
|
|
|
)
|
|
|
|
|
|
// 转换手机号码
|
...
|
...
|
@@ -487,6 +487,9 @@ func CompaniesLogin(header *protocol.RequestHeader, request *protocolx.CenterCom |
|
|
//rsp.CsAccountID = fmt.Sprintf("%v", imInfo.CustomerImId)
|
|
|
//rsp.ImToken = imInfo.ImToken
|
|
|
//rsp.Accid, _ = strconv.Atoi(imInfo.ImId)
|
|
|
rsp.CsAccountID = ""
|
|
|
rsp.ImToken = ""
|
|
|
rsp.Accid = 1
|
|
|
rsp.Phone = request.Phone
|
|
|
rsp.Credentials, _ = utils.GenerateToken(int64(phoneId), request.Phone, protocol.RefreshTokenExipre*time.Second)
|
|
|
|
...
|
...
|
|