shaogen1995 1 月之前
父節點
當前提交
57ab91807e

+ 3 - 0
后台大场景编辑/public/index.html

@@ -12,6 +12,9 @@
       // 甲方服务器域名
       // const backUrl = 'http://192.168.20.55:3000'
       const backUrl = 'https://sit-beirenbigscene.4dage.com/backstage'
+
+      // 第三方网址跳转域名
+      const threeUrl = `https://dev.itfinspread.com:8003/#/sso?redirectUrl=${backUrl}`
     </script>
 
     <title>北人亦创国际会展中心-场景编辑后台</title>

+ 1 - 1
后台大场景编辑/src/pages/Login/index.tsx

@@ -8,7 +8,7 @@ import history from '@/utils/history'
 import { isLocal } from '@/utils/http'
 function Login() {
   const loginFu = useCallback(() => {
-    window.location.href = `https://dev.itfinspread.com:8003/#/sso?redirectUrl=${backUrl}`
+    window.location.href = threeUrl
   }, [])
 
   const [code, setCode] = useState('')

+ 1 - 0
后台大场景编辑/src/types/declaration.d.ts

@@ -5,3 +5,4 @@ declare module '*.jpg'
 declare module '*.gif'
 declare module 'js-export-excel'
 declare const backUrl: string
+declare const threeUrl: string