How to write the url path of ajax in thinkphp5?

how should I write this path? I want to jump to the specified controller, and the js file is separate, not unloading the

in the view.
Mar.01,2021

Direct / checkLogin under the current domain name


if the js file is separate, write it directly, similar to http://demo.me/index/index/do


write {: url ('admin/Datacollated/getDate')}
clipboard.png

Menu