Commit d49a952c authored by hzl's avatar hzl

feat: 初始化调用

parent 927767ad
...@@ -54,7 +54,7 @@ export function getFacebookAuthUrl() { ...@@ -54,7 +54,7 @@ export function getFacebookAuthUrl() {
*/ */
export function getTiktokAccountList() { export function getTiktokAccountList() {
return request({ return request({
url: process.env.PUTIN_API + '/api/tiktok/oauth/fbAdvertiserList', url: process.env.PUTIN_API + '/tiktok/fbAdvertiser//fbAdvertiserList',
method: 'get' method: 'get'
}) })
} }
...@@ -66,7 +66,7 @@ export function getTiktokAccountList() { ...@@ -66,7 +66,7 @@ export function getTiktokAccountList() {
*/ */
export function updateAccount(params) { export function updateAccount(params) {
return request({ return request({
url: process.env.PUTIN_API + '/api/tiktok/oauth/fbAdvertiserUpdate', url: process.env.PUTIN_API + '/tiktok/fbAdvertiser/fbAdvertiserUpdate',
method: 'get', method: 'get',
params params
}) })
...@@ -79,7 +79,7 @@ export function updateAccount(params) { ...@@ -79,7 +79,7 @@ export function updateAccount(params) {
*/ */
export function deleteTiktokAccount(id) { export function deleteTiktokAccount(id) {
return request({ return request({
url: process.env.PUTIN_API + '/api/tiktok/oauth/fbAdvertiserDelete', url: process.env.PUTIN_API + '/tiktok/fbAdvertiser/fbAdvertiserDelete',
method: 'get', method: 'get',
params: { id } 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