ajax interface to access backstage encounter error
Solution:
It was added in the request header of the requested file php
header('Access-Control-Allow-Origin: *');
For example: My background is laravel framework interfaces to write, so in index.php laravel added request headers
Background data returned