search

Home  >  Q&A  >  body text

How does laravel respond to the Alibaba Cloud SMS asynchronous notification interface?

The thing is like this, the website uses the Alibaba Cloud SMS interface to send business notifications to customers. This SMS interface has an asynchronous notification function. I want to know whether the customer has received the SMS through the asynchronous notification interface. When setting the asynchronous notification address in the Alibaba Cloud console, he needs to verify the page response { "code": 0, "msg": "success"} before he can save the address. But I can't get it right no matter what I do on laravel. I tested it elsewhere before using laravel. It is very simple to echo this json on a normal PHP page. Address https://sms.0517w.com.cn/2.php. But when I got Laravel, I tried echo print_r exit return in the view or controller but it failed. You can check it out at this address: https://www.68145.com/notify/alisms.asp. I submitted the job many times. If you go to the backend for consultation, the backend will reply whether the page should display this or not, but should respond. I'm confused. I remember that when Teacher Ximen paid for WeChat in class, the page would give a value. Why couldn't he do it?010.jpg

不是一般的人不是一般的人1652 days ago1075

reply all(0)I'll reply

No reply
  • Cancelreply