This commit is contained in:
linfso 2024-10-31 12:29:43 +08:00
parent 6d94e057a3
commit 8dc4fcbec0

View File

@ -332,4 +332,25 @@ public class Oms2cCommonController extends BaseController
}
/**
* 获取在线客户h5链接
* @param userId
* @param nickName
* @return
*/
@RequestMapping(value = "/getOnlineKefuH5Url")
public AjaxResult getOnlineKefuH5Url(Long userId,String nickName)
{
log.error("getOnlineKefuH5Url start");
String h5Url="https://ykf-weixin01.7moor.com/wapchat.html?accessId=f927b2d0-9660-11ef-984c-5d098e8e44c0&fromUrl=http://oms.tanex56.com/onlineChat&urlTitle=小程序&language=ZHCN&otherParams={\"peerId\":\"10063084\",\""+nickName+"\":\"李四\"}&clientId="+userId;
log.error("getOnlineKefuH5Url end");
return AjaxResult.success("成功",h5Url);
}
}