TP the same code on different servers one can execute correctly and the other reports a 302error

A piece of code I wrote can be executed normally under the test server and locally, but I reported a 302 error under the development server. I don"t quite understand, the content is exactly the same, so I want to ask. Is there any reason for this? I am a post request. The browser information is as follows:

this is the request in my code:


    $.post("{:U("TradeManual/addTrade")}",data,function(res){
                addTrade.selector.datagrid("loaded");
                if(!res.status){
                    messager.alert(res.info);
                    return false;
                }else{
                    messager.alert(res.info);
                }
            },"JSON");
Mar.01,2021

may be a case problem

Menu