mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 13:59:28 +08:00
fix: ppio oauth links (#8073)
This commit is contained in:
parent
60e3431b36
commit
38cf3869bc
@ -60,7 +60,7 @@ export const oauthWithAihubmix = async (setKey) => {
|
||||
|
||||
export const oauthWithPPIO = async (setKey) => {
|
||||
const redirectUri = 'cherrystudio://'
|
||||
const authUrl = `https://ppio.cn/oauth/authorize?client_id=${PPIO_CLIENT_ID}&scope=api%20openid&response_type=code&redirect_uri=${encodeURIComponent(redirectUri)}`
|
||||
const authUrl = `https://ppio.cn/oauth/authorize?invited_by=JYT9GD&client_id=${PPIO_CLIENT_ID}&scope=api%20openid&response_type=code&redirect_uri=${encodeURIComponent(redirectUri)}`
|
||||
|
||||
window.open(
|
||||
authUrl,
|
||||
@ -167,7 +167,7 @@ export const providerCharge = async (provider: string) => {
|
||||
height: 700
|
||||
},
|
||||
ppio: {
|
||||
url: 'https://ppio.cn/billing?utm_source=github_cherry-studio',
|
||||
url: 'https://ppio.cn/billing?invited_by=JYT9GD&utm_source=github_cherry-studio',
|
||||
width: 900,
|
||||
height: 700
|
||||
}
|
||||
@ -200,7 +200,7 @@ export const providerBills = async (provider: string) => {
|
||||
height: 700
|
||||
},
|
||||
ppio: {
|
||||
url: 'https://ppio.cn/billing/billing-details?utm_source=github_cherry-studio',
|
||||
url: 'https://ppio.cn/billing/billing-details?invited_by=JYT9GD&utm_source=github_cherry-studio',
|
||||
width: 900,
|
||||
height: 700
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user