Learning immediately: https://edu.csdn.net/course/play/26744/339998?utm_source=blogtoedu
The figure above the proxy cross-domain can be replaced api api, attention / not to end.
In the main entrance template (index.html) in the call ajax, only to / api instead of the cross-domain address can be spliced