fixed line
このコミットが含まれているのは:
コミット
134e27ca87
|
@ -65,8 +65,24 @@ const ParentChildAdd = () => {
|
|||
const inviteUrl = document.getElementById('inviteurl_html').value;
|
||||
const siteUrl = document.getElementById('siteurl').value;
|
||||
const lineText = `「KIKI」の招待が届いています。%0Aまずは以下より仮登録を行ってください。%0A%0A※スマホ本体を最新の状態にアップデートしてからURLをクリックしてください。%0A%0A${inviteUrl}%0A%0A▼公式サイトはこちら%0A${siteUrl}`;
|
||||
setSuccess('招待用URLをLINEで追信しました。');
|
||||
window.location.href = 'http://line.me/R/msg/text/?'+lineText;
|
||||
|
||||
setIsCheckRelation(true);
|
||||
set401Error('');
|
||||
await axios.get('/api/fathers/relations/check', {params:{father_id: father_id}})
|
||||
.then(response=>{
|
||||
setNotice(response.data.notice);
|
||||
setIsCheckRelation(false);
|
||||
switch(response.data.status_code){
|
||||
case 200: {
|
||||
setSuccess('招待用URLをLINEで追信しました。');
|
||||
window.location.href = 'http://line.me/R/msg/text/?'+lineText;
|
||||
break;
|
||||
}
|
||||
case 400: set400Error(response.data.error_messages); break;
|
||||
case 401: set401Error(response.data.error_messages); set400Error(response.data.error_messages); break;
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
const contactMailText = 'mailto:56@zotman.jp?subject=KIKIメンバー追加について&body='+
|
||||
|
@ -124,7 +140,7 @@ const ParentChildAdd = () => {
|
|||
<a onClick={copyInviteURL}>招待用URLをコピーする</a>
|
||||
</div>
|
||||
<div style={{color:"#49A3FC",display:"flex", justifyContent:"center", alignItems:"center", paddingTop:20}}>
|
||||
<a onClick={copyLineText}>招待用URLをLINEで追信</a>
|
||||
<a onClick={copyLineText}>招待用URLをLINEで送信</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
新しいイシューから参照