API failed to set cookie

PHP_rookie
New Member
2 0 0

I call the API through Ajax to set the cookie, but I didn't set it successfully; My API is written in thinkphp6, which is also a cookie set through thinkp6. Does anyone know what the problem is

0 Likes
PHP_rookie
New Member
2 0 0

hey,shuo!Should be tp6 method call over no effect, please try jQuery to store cookies

 

0 Likes