Fortune Telling Collection - Comprehensive fortune-telling - How does php call Taobao api?

How does php call Taobao api?

1. First, create a file with the abstract file name php as the suffix. And add php tags to the page.

2. Create an Ab class starting with abstract in the page.

3. Creating an abstract method in an abstract class means adding an abstraction before public when creating a method, but the method does not add a method body and adds a symbol at the end.

4. Create a subclass to integrate the abstract class Ab.

5. After the inheritance class is created, instantiate the Sonab class and call the method in it, and the call will be successful.