public SendSMSRequest Send_LX([FromBody] SendSMSRequest model) { Console.WriteLine($"通过联想短信接口向{model.PhoneNum}发送短信{model.Msg}"); var cookie = this.HttpContext.Request.Cookies["test_coockie"]; this.HttpContext.Response.Cookies.Append("test_coockie", "helloworld"); model.Cookie = cookie; return(model); }
public SendSMSRequest Send_MI([FromBody] SendSMSRequest model) => model;