Skip to content

Commit

Permalink
fix:ๅฎŒๅ–„ examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dongfengtao committed Mar 13, 2024
1 parent 4c61be7 commit 9d9b337
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions examples/miniapp-taro/src/pages/index/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ export default class Index extends Component<PropsWithChildren> {

const res = await authing.loginByPhone({
extIdpConnidentifier: EXT_IDP_CONNIDENTIFIER,
// ไน‹ๅ‰็š„ๆš‚ๆ—ถไฟ็•™
wechatMiniProgramCodeAndPhonePayload: {
wxPhoneInfo: {
code
}
},
// ไน‹ๅ‰็š„ๆš‚ๆ—ถไฟ็•™ - ๅŽๆœŸไผšๅœ็”จ
// wechatMiniProgramCodeAndPhonePayload: {
// wxPhoneInfo: {
// code
// }
// },
// ้€š็”จๅ‚ๆ•ฐ
miniProgramCodeAndPhonePayload: {
phoneParams: {
Expand Down
2 changes: 1 addition & 1 deletion examples/miniapp-uniapp/src/pages/index/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
console.log('e: ', e)
const res = await authing.loginByPhone({
extIdpConnidentifier: AUTHING_EXT_IDP_CONN_IDENTIFIER,
// ไน‹ๅ‰็š„ๆš‚ๆ—ถไฟ็•™
// ไน‹ๅ‰็š„ๆš‚ๆ—ถไฟ็•™ - ๅŽๆœŸไผšๅœ็”จ
// wechatMiniProgramCodeAndPhonePayload: {
// wxPhoneInfo: {
// code
Expand Down

0 comments on commit 9d9b337

Please sign in to comment.