|
@@ -2,11 +2,12 @@ import React, { useEffect, useState } from 'react'
|
2
|
2
|
import moment from 'moment'
|
3
|
3
|
import { Modal } from 'antd'
|
4
|
4
|
import Styles from './style.less'
|
|
5
|
+import { APIBaseURL } from '@/utils/constant'
|
5
|
6
|
|
6
|
7
|
export default props => {
|
7
|
8
|
const baseURL = props.dataSource.evtType === 'birthday'
|
8
|
|
- ? 'https://xs.ycjcjy.com/shengrih5.html'
|
9
|
|
- : 'https://xs.ycjcjy.com/jierih5.html'
|
|
9
|
+ ? `${APIBaseURL}shengrih5.html`
|
|
10
|
+ : `${APIBaseURL}jierih5.html`
|
10
|
11
|
|
11
|
12
|
const queryString = [
|
12
|
13
|
`name=${encodeURIComponent(' 张xx (先生)')}`,
|