Merge branch 'master_jnryy_customerservice' into 'release_20230407'

4.7 客服生产发版合并

See merge request eshop/fe_service_ebtp_frontend!203
This commit is contained in:
jlfuqj
2023-04-07 02:01:06 +00:00
18 changed files with 661 additions and 33 deletions

View File

@ -1,6 +1,5 @@
/*客服系统专用*/
//跨系统post传参
export const bizServiceCustomService = REACT_APP_CUSTOMERSERVICE_USERCENTER + '&client_id=' + REACT_APP_CUSTOMERSERVICE_CLIENT_ID + '&redirect_uri=' + REACT_APP_CUSTOMERSERVICE_REDIRECT + '/redirect?page=home&mall3_token=';//智慧客服
//export const bizServiceCustomService = REACT_APP_CUSTOMERSERVICE_USERCENTER + '&client_id=S00hFPxc&redirect_uri=http://localhost:3000/redirect?page=home&mall3_token=';//智慧客服
export function windowOpenChatUI(inputList:any,pathname:string) {
@ -24,6 +23,7 @@
input.id = 'tempInput_CustomerService'
input.name= 'sceneUrl'
input.value= pathname
input.type="hidden"
tempForm.appendChild(input)
document.body.appendChild(tempForm);
if(tempForm){
@ -54,6 +54,7 @@
input.id = 'tempInput_CustomerService'
input.name= 'sceneUrl'
input.value= pathname
input.type="hidden"
tempForm.appendChild(input)
document.body.appendChild(tempForm);
}