CodeIgniter用空格替换“ +”

时间:2018-10-10 07:53:18

标签: php codeigniter json-deserialization

我们有一个登录api,其中用户的登录电子邮件为ALTER PROCEDURE [Verification] @BranchID VARCHAR(MAX), @StartDate DATETIME, @EndDate DATETIME, @UserName VARCHAR(150), @Password VARCHAR(50) --WITH ENCRYPTION AS BEGIN EXEC Security.rpt_HasAccess @UserName, @Password SELECT SB.Name as Branch ,FVD.TrackDateTime AS [Date] ,ISNULL(' ' + FA.Number + ' -', '') + ' ' + FA.FirstName + ' ' + FA.LastName AS USER ,FV.FirstName + ' ' + FV.LastName AS Client ,SU.UserName ,FGLT.Name ,REPLACE(br.BreadCrumb, '||', ' - ') + ' - ' + GM.Name + ' - ' + p.Name + ISNULL(' ' + gmo.NameSuffix, '') + ISNULL(' ' + p1.Name, '') AS BC ,FGL.[Entry] ,CASE WHEN FV.Number IS NOT NULL THEN FV.Number ELSE FV.Pass END AS PassorNot ,FV.Address ,FV.PhoneNumber FROM Verification FV JOIN Detail FVD ON FVD.VerificationID = FV.VerificationId LEFT JOIN GeneralLedger FGL ON (FGL.TicketID = FVD.TicketID AND FGL.TypeCode = FVD.TypeCode) OR (FGL.LedgerID = FVD.LedgerID) LEFT JOIN LedgerType FGLT ON FGLT.LedgerTypeCode = FGL.LedgerTypeCode LEFT OUTER JOIN Account FA ON FA.AccountID = FGL.AccountID LEFT JOIN [security].SysUser SU ON SU.UserID = FVD.UserID LEFT JOIN Ticket BT ON BT.TicketID = FVD.TicketID LEFT JOIN (SELECT MarketOptionID, TicketID FROM TicketDetail WHERE Current = 1) AS BTD ON BTD.TicketID = BT.TicketID LEFT JOIN MarketOption GMO ON GMO.MarketOptionID = BTD.MarketOptionID LEFT JOIN Market GM ON GM.MarketID = GMO.MarketID LEFT JOIN Participant p ON GMO.ParticipantID = p.ParticipantID LEFT JOIN Participant AS p1 ON GMO.ParticipantID1 = p1.ParticipantID and GMO.ParticipantID1 IS NOT NULL LEFT JOIN [system].[Branch] SB ON FGL.BranchID = SB.BranchID LEFT JOIN Crumb br ON gm.GID = br.GID WHERE FVD.TrackDateTime > @StartDate AND FVD.TrackDateTime < @EndDate + 1 AND SB.BranchID IN (SELECT CAST(Data AS INT) FROM [system].[Split](@BranchID, ',')) ORDER BY SB.Name, FVD.TrackDateTime END

登录api在iOS和Web版本上可用,但在Android和Postman上失败。我们尝试返回输入到方法中的值,但它以ttramos+@example.com.ph的形式返回。它将ttramos @globe.com.ph替换为空格。知道是什么原因造成的吗?

+

}

0 个答案:

没有答案