Commit b2c5dda0 authored by wangxuelai's avatar wangxuelai

'最新代码提交'

parent 6778646d
...@@ -21,6 +21,8 @@ export default { ...@@ -21,6 +21,8 @@ export default {
title: '', title: '',
created_at: '', created_at: '',
logo: '', logo: '',
app_id: '',
template_config_status: '',
}, },
hasPushAuth: false, hasPushAuth: false,
}, },
...@@ -60,6 +62,7 @@ export default { ...@@ -60,6 +62,7 @@ export default {
title: data.data.title, title: data.data.title,
created_at: data.data.created_at, created_at: data.data.created_at,
logo: data.data.head_img, logo: data.data.head_img,
app_id: data.data.app_id,
template_config_status: data.data.template_config_status, template_config_status: data.data.template_config_status,
}, },
}, },
...@@ -133,6 +136,7 @@ export default { ...@@ -133,6 +136,7 @@ export default {
payload: { payload: {
isEmpty: false, isEmpty: false,
wxInfo: { wxInfo: {
app_id: data.data.app_id,
title: data.data.title, title: data.data.title,
created_at: data.data.created_at, created_at: data.data.created_at,
logo: data.data.head_img, logo: data.data.head_img,
......
...@@ -65,7 +65,7 @@ class PushSetting extends React.Component { ...@@ -65,7 +65,7 @@ class PushSetting extends React.Component {
{item.template_config_status == 2 && <div>状态:配置中<span style={{ paddingLeft: '10px' }} className="hreflink" onClick={this.refreshPushSetting}>刷新状态</span></div>} {item.template_config_status == 2 && <div>状态:配置中<span style={{ paddingLeft: '10px' }} className="hreflink" onClick={this.refreshPushSetting}>刷新状态</span></div>}
{item.template_config_status == 3 && <div>状态:配置成功</div>} {item.template_config_status == 3 && <div>状态:配置成功</div>}
{item.template_config_status == 4 && <div>状态:配置失败,请联系轻校客服 </div>} {item.template_config_status == 4 && <div>状态:配置失败,请联系轻校客服 </div>}
<div ><span id="linkcopy">{ENVIRONMENT == 'pro' ? `https://h5.qingxiao.online/qxbindpush.html?sid=${sid}` : `https://clock-h5.wp53.cn/qxbindpush.html?sid=${sid}`}</span><span style={{ paddingLeft: '10px' }} className="hreflink" data-clipboard-target="#linkcopy" id="btnCopyLink">复制</span></div> <div ><span id="linkcopy">{ENVIRONMENT == 'pro' ? `https://h5.qingxiao.online/qxbindpush.html?sid=${sid}&appid=${item.app_id}` : `https://clock-h5.wp53.cn/qxbindpush.html?sid=${sid}&appid=${item.app_id}`}</span><span style={{ paddingLeft: '10px' }} className="hreflink" data-clipboard-target="#linkcopy" id="btnCopyLink">复制</span></div>
</div> </div>
)} )}
/> />
......
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