public override void GetResponseUserInfo(Entity.Passport.PartnerBackContext context) { Random r = new Random(); string tlyhUserId = context.ResponseParam["customerId"]; context.CustomerID = string.Format("TLYH_{0}", tlyhUserId); context.Email = context.ResponseParam["email"]; context.CellPhone = context.ResponseParam["customerMobile"]; context.CustomerName = string.Format("泰隆客户_{0}", r.Next(10000000, 99999999)); context.CustomerSouce = Enums.CustomerSourceType.TLYH; }
public override bool BackVerifySign(Entity.Passport.PartnerBackContext context) { context.ActionType = PassportActionType.Accept; return(true); }