增加入口
This commit is contained in:
@ -405,8 +405,8 @@ const Index: React.FC<{}> = () => {
|
||||
})
|
||||
}
|
||||
const createHiddenForm = (record:any)=>{//智慧客服-创建临时表单
|
||||
//const customerservice = REACT_APP_CUSTOMERSERVICE_USERCENTER + '&client_id=' + REACT_APP_CUSTOMERSERVICE_CLIENT_ID + '&redirect_uri=' + REACT_APP_CUSTOMERSERVICE_REDIRECT + '/redirect?page=home&mall3_token=';//智慧客服
|
||||
const customerservice = REACT_APP_CUSTOMERSERVICE_USERCENTER + '&client_id=S00hFPxc&redirect_uri=http://localhost:3000/redirect?page=home&mall3_token=';//智慧客服
|
||||
const customerservice = REACT_APP_CUSTOMERSERVICE_USERCENTER + '&client_id=' + REACT_APP_CUSTOMERSERVICE_CLIENT_ID + '&redirect_uri=' + REACT_APP_CUSTOMERSERVICE_REDIRECT + '/redirect?page=home&mall3_token=';//智慧客服
|
||||
//const customerservice = REACT_APP_CUSTOMERSERVICE_USERCENTER + '&client_id=S00hFPxc&redirect_uri=http://localhost:3000/redirect?page=home&mall3_token=';//智慧客服
|
||||
|
||||
var tempForm = document.getElementById('tempForm_CustomerService') as HTMLFormElement
|
||||
if(tempForm) document.body.removeChild(tempForm);
|
||||
@ -517,6 +517,7 @@ const Index: React.FC<{}> = () => {
|
||||
tempForm.appendChild(hideInput)
|
||||
})
|
||||
var input = document.createElement("input")
|
||||
input.id = 'tempInput_CustomerService'
|
||||
input.name= 'sceneUrl'
|
||||
input.value= window.location.pathname
|
||||
tempForm.appendChild(input)
|
||||
|
@ -218,6 +218,7 @@ const LookingForBusinessOpportunitiesList: React.FC<{}> = () => {
|
||||
tempForm.appendChild(hideInput)
|
||||
})
|
||||
var input = document.createElement("input")
|
||||
input.id = 'tempInput_CustomerService'
|
||||
input.name= 'sceneUrl'
|
||||
input.value= window.location.pathname
|
||||
tempForm.appendChild(input)
|
||||
|
Reference in New Issue
Block a user