public ResData AddADDress([FromForm] string Name, [FromForm] string Phone, [FromForm] string Address) { var user = ""; user = GetCookies("userid"); if (user != "") { var dto = new User_AddressDTO() { Address = Address, IsDelect = true, Name = Name, Phone = Phone, UserID = user }; var li = personalI.AddAddress(dto, user); return(GetShoppingAddress()); } else { return(ResData.Fail("未登录")); } }