refactor(jd-card): 更新 iframe 页面链接

- 将 WalmartAccount 修改为 JDAccount
-将 WalmartOrder 修改为 JDOrder
This commit is contained in:
danial
2025-01-13 21:37:19 +08:00
parent 21aee3f08a
commit 711ec4ff9f
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
</style> </style>
<script> <script>
// 构建链接 // 构建链接
const url = "{{.portalHost}}" + "/iframe/WalmartAccount?token={{.token}}"; const url = "{{.portalHost}}" + "/iframe/JDAccount?token={{.token}}";
// 链接添加至到iframe中 // 链接添加至到iframe中
document.getElementsByTagName("iframe")[0].src = url; document.getElementsByTagName("iframe")[0].src = url;
</script> </script>

View File

@@ -13,7 +13,7 @@
</style> </style>
<script> <script>
// 构建链接 // 构建链接
const url = "{{.portalHost}}" + "/iframe/WalmartOrder?token={{.token}}"; const url = "{{.portalHost}}" + "/iframe/JDOrder?token={{.token}}";
// 链接添加至到iframe中 // 链接添加至到iframe中
document.getElementsByTagName("iframe")[0].src = url; document.getElementsByTagName("iframe")[0].src = url;
</script> </script>