shenwu 6 months ago
parent
commit
b5fedd0404

+ 0 - 15
miniApp/adBack/index.html

@@ -1,15 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Document</title>
-</head>
-<body>
-    <script>
-        window.onload=()=>{
-            location.href = location.href.replace('https://testdistribution.zanxiangwl.com/',"https://testdistribution.zanxiangwl.com/#/")
-        }
-    </script>
-</body>
-</html>

+ 1 - 1
src/pages/MiniApp/AdBack/index.tsx

@@ -29,7 +29,7 @@ function Auth() {
             appType: initialState?.selectApp?.appType,
             appId: initialState?.selectApp?.id,
             advertisingChannel: key,
-            callbackPage: "https://testdistribution.zanxiangwl.com/#/miniApp/adBack"
+            callbackPage: "https://testdistribution.zanxiangwl.com/miniApp/adBack"
         }).then(res => {
             if (res.code === 200) {
                 window.open(res.data)

+ 1 - 1
src/pages/MiniApp/EmsCnpl/Auth/index.tsx

@@ -48,7 +48,7 @@ const Page: React.FC = () => {
     }, [])
     // 授权
     const auth = () => {
-        PreAuth.run({ callbackPage: "https://testdistribution.zanxiangwl.com/#/miniApp/emsCnpl/auth?uuid=UUID" }).then(res => {
+        PreAuth.run({ callbackPage: "https://testdistribution.zanxiangwl.com/miniApp/emsCnpl/auth?uuid=UUID" }).then(res => {
             if (res.code === 200) {
                 window.open(res?.data)
             }