Commit e27c81aa by chenshu

feat:初始化

parent cce75938
......@@ -30,7 +30,7 @@ export default class QRCodeModal extends React.Component {
const { selectedDate, data } = this.state;
if (data.whetherSetSignIn === 'YES') {
const qrcodeWrapDom = document.querySelector('#qrcodeWrap1');
const htmlUrl = `${LIVE_SHARE}sign_in?id=${User.getCustomerStoreId() || User.getStoreId()}&userId=${User.getUserId()}&calendar=${selectedDate}&courseId=${data.courseId}&from=work_weixin`;
const htmlUrl = `${LIVE_SHARE}sign_in?id=${User.getCustomerStoreId() || User.getStoreId()}&userId=${User.getStoreUserId()}&calendar=${selectedDate}&courseId=${data.courseId}&from=work_weixin`;
Service.Sales('public/businessShow/convertShortUrls', {
urls: [htmlUrl]
}).then((res) => {
......@@ -49,7 +49,7 @@ export default class QRCodeModal extends React.Component {
}
if (data.whetherSetSignIn === 'YES') {
const qrcodeWrapDom = document.querySelector('#qrcodeWrap2');
const htmlUrl = `${LIVE_SHARE}sign_out?id=${User.getCustomerStoreId()||User.getStoreId()}&userId=${User.getUserId()}&calendar=${selectedDate}&courseId=${data.courseId}&from=work_weixin`;
const htmlUrl = `${LIVE_SHARE}sign_out?id=${User.getCustomerStoreId()||User.getStoreId()}&userId=${User.getStoreUserId()}&calendar=${selectedDate}&courseId=${data.courseId}&from=work_weixin`;
Service.Sales('public/businessShow/convertShortUrls', {
urls: [htmlUrl]
}).then((res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment