修改API domain

This commit is contained in:
Raymond Yang
2023-06-27 17:36:45 +08:00
parent a8c1c401d4
commit 62c2be087f
6 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ window.onload = function () {
paramValue = getParameterByName('id');
console.log(paramValue);
axios.get("http://127.0.0.1:10001/api/record/" + paramValue)
axios.get("https://pcredive.ray650128.com/backend/api/record/" + paramValue)
.then(function (response) {
// 在這裡處理回傳的資料
var options = response.data;
@@ -97,7 +97,7 @@ function fillRecord(
knife3c_damage
) {
// 发送登录请求
axios.put("http://127.0.0.1:10001/api/record/" + recordId, {
axios.put("https://pcredive.ray650128.com/backend/api/record/" + recordId, {
memberId: memberId,
record1: {
boss: knife1_boss,