useFee.8505982e.js 787 B

1
  1. import{g as e,bx as u,e as t,f as a}from"./index.5f7ffb46.js";const r=()=>{if(t({api:"back"}),a().isApp){const o=window.location.origin+location.pathname+"#/memberCenter";t({api:"openWebView",content:{url:o,orientation:1}});return}location.href=location.origin+location.pathname+"#/memberCenter"},i=()=>{if(e.platformType=="STUDENT"){if(!e.user.data.membershipDays&&e.user.data.purchaseMemberRecord)return u({title:"\u6E29\u99A8\u63D0\u793A",message:"\u60A8\u7684\u56E2\u7EC3\u5B9D\u6682\u672A\u6FC0\u6D3B\uFF0C\u8BF7\u6FC0\u6D3B\u540E\u4F7F\u7528"}).then(()=>{r()}),!1;if(!e.user.data.vipMember)return u({title:"\u6E29\u99A8\u63D0\u793A",message:"\u60A8\u6682\u672A\u5F00\u901A\u56E2\u7EC3\u5B9D\uFF0C\u8BF7\u5F00\u901A\u540E\u4F7F\u7528"}).then(()=>{r()}),!1}return!0};export{i as h};