thinkphp accepts xml data of post request

Posted by barello at 2020-04-01

Record a little log for later forgetting. Writing interfaces in different languages is a very tedious thing. You don't understand what he said, you don't understand what you said, I don't know the data flow of PHP, so I wrote the data flow of uploading pictures, and then passed the data. The way of flow really won't, maybe it's simplified. As the title, I record the Java call to PHP interface, using XM

//Custom function / / XM

I can't use return. I actually define an XM by myself