Commit d49a952c authored by hzl's avatar hzl

feat: 初始化调用

parent 927767ad
......@@ -54,7 +54,7 @@ export function getFacebookAuthUrl() {
*/
export function getTiktokAccountList() {
return request({
url: process.env.PUTIN_API + '/api/tiktok/oauth/fbAdvertiserList',
url: process.env.PUTIN_API + '/tiktok/fbAdvertiser//fbAdvertiserList',
method: 'get'
})
}
......@@ -66,7 +66,7 @@ export function getTiktokAccountList() {
*/
export function updateAccount(params) {
return request({
url: process.env.PUTIN_API + '/api/tiktok/oauth/fbAdvertiserUpdate',
url: process.env.PUTIN_API + '/tiktok/fbAdvertiser/fbAdvertiserUpdate',
method: 'get',
params
})
......@@ -79,7 +79,7 @@ export function updateAccount(params) {
*/
export function deleteTiktokAccount(id) {
return request({
url: process.env.PUTIN_API + '/api/tiktok/oauth/fbAdvertiserDelete',
url: process.env.PUTIN_API + '/tiktok/fbAdvertiser/fbAdvertiserDelete',
method: 'get',
params: { id }
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment