Beispiel #1
0
        public ActionResult CustomerInforQuery()
        {
            int    UserId = TQuery.GetInt("UserId");
            string Mobile = TQuery.GetSafeString("Mobile");
            respCustomerInforQueryModel result = new respCustomerInforQueryModel();

            if (UserId == 0)
            {
                if (!string.IsNullOrEmpty(Mobile))
                {
                    result = YeepayDepository.CustomerInforQuery(Mobile, (int)Logic.Platform.系统);
                }
                else
                {
                    result.backState = -100;
                    result.message   = "";
                }
            }
            else
            {
                result = YeepayDepository.CustomerInforQuery(UserId, (int)Logic.Platform.系统);
            }

            return(View(result));
        }