為什么Route 不起作用。



uj5u.com熱心網友回復:
感謝 著急!!!上面錯圖。
Index cshtml為
paypal.Buttons({
// Set up the transaction
enableStandardCardFields: true,
createOrder: function (data, actions) {
orderId = data.orderID;
console.log("Start");
console.log(data);
console.log(actions);
console.log("End");
return fetch(
'api/paypal/checkout/create', {
method: 'post'
}).then(function (res) {
return res.json();
}).then(function (data) {
return data.orderID;
});
},
uj5u.com熱心網友回復:
CORE的路由規則和FrameWork應該是一樣的。uj5u.com熱心網友回復:
謝謝 搞定了。!!uj5u.com熱心網友回復:
莫名奇妙新建一個專案。重拷貝一遍就好了。。。。。
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/224661.html
標籤:ASP.NET
上一篇:WPF中利用sharpvectors來顯示SVG的問題
下一篇:關于一個字串替換的問題
