shaogen1995 1 개월 전
부모
커밋
57ab91807e
3개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      后台大场景编辑/public/index.html
  2. 1 1
      后台大场景编辑/src/pages/Login/index.tsx
  3. 1 0
      后台大场景编辑/src/types/declaration.d.ts

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

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

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

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

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

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