|
@@ -34,8 +34,6 @@ const stripOAuthCodeFromUrl = () => {
|
|
|
const externalUserid = ref('');
|
|
const externalUserid = ref('');
|
|
|
const unionidValue = ref('');
|
|
const unionidValue = ref('');
|
|
|
const ownerId = ref('');
|
|
const ownerId = ref('');
|
|
|
-const getuserdetailRequestPopupVisible = ref(false);
|
|
|
|
|
-const getuserdetailRequestJsonText = ref('');
|
|
|
|
|
const internalUserGetPopupVisible = ref(false);
|
|
const internalUserGetPopupVisible = ref(false);
|
|
|
const internalUserGetJsonText = ref('');
|
|
const internalUserGetJsonText = ref('');
|
|
|
|
|
|
|
@@ -88,12 +86,6 @@ const bootstrapWithCode = async (code: string) => {
|
|
|
throw new Error('identity incomplete')
|
|
throw new Error('identity incomplete')
|
|
|
}
|
|
}
|
|
|
applyVisitorFromSyncResult(result)
|
|
applyVisitorFromSyncResult(result)
|
|
|
- if (result.getuserdetailRequestParams) {
|
|
|
|
|
- getuserdetailRequestJsonText.value = JSON.stringify({
|
|
|
|
|
- authParams: result.getuserdetailRequestParams,
|
|
|
|
|
- }, null, 2)
|
|
|
|
|
- getuserdetailRequestPopupVisible.value = true
|
|
|
|
|
- }
|
|
|
|
|
if (result.internalUserRaw) {
|
|
if (result.internalUserRaw) {
|
|
|
internalUserGetJsonText.value = JSON.stringify(result.internalUserRaw, null, 2)
|
|
internalUserGetJsonText.value = JSON.stringify(result.internalUserRaw, null, 2)
|
|
|
internalUserGetPopupVisible.value = true
|
|
internalUserGetPopupVisible.value = true
|
|
@@ -166,13 +158,6 @@ const getQuestionPage = () => {
|
|
|
</view>
|
|
</view>
|
|
|
<img class="box_bg_bottom" src="@/assets/bg_bottom.png" alt="" srcset="">
|
|
<img class="box_bg_bottom" src="@/assets/bg_bottom.png" alt="" srcset="">
|
|
|
|
|
|
|
|
- <van-popup v-model:show="getuserdetailRequestPopupVisible" round closeable class="user-get-popup">
|
|
|
|
|
- <view class="user-get-popup__header">getuserdetail 请求参数</view>
|
|
|
|
|
- <scroll-view scroll-y class="user-get-popup__content">
|
|
|
|
|
- <text selectable class="user-get-popup__json">{{ getuserdetailRequestJsonText }}</text>
|
|
|
|
|
- </scroll-view>
|
|
|
|
|
- </van-popup>
|
|
|
|
|
-
|
|
|
|
|
<van-popup v-model:show="internalUserGetPopupVisible" round closeable class="user-get-popup">
|
|
<van-popup v-model:show="internalUserGetPopupVisible" round closeable class="user-get-popup">
|
|
|
<view class="user-get-popup__header">getuserdetail 返回</view>
|
|
<view class="user-get-popup__header">getuserdetail 返回</view>
|
|
|
<scroll-view scroll-y class="user-get-popup__content">
|
|
<scroll-view scroll-y class="user-get-popup__content">
|