修改提取IP接口里的callPublic调用 & 修复余额支付已完成的状态 & 手机端点击支付增加新窗口
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
'use server'
|
||||
import {callByUser} from '@/actions/base'
|
||||
import {callByUser, callPublic} from '@/actions/base'
|
||||
import {Channel} from '@/lib/models'
|
||||
import {PageRecord} from '@/lib/api'
|
||||
|
||||
@@ -31,5 +31,5 @@ export async function createChannels(params: {
|
||||
city?: string
|
||||
isp?: number
|
||||
}) {
|
||||
return callByUser<CreateChannelsResp[]>('/api/channel/create', params)
|
||||
return callPublic<CreateChannelsResp[]>('/api/channel/create', params)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user