| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- import { request } from '../request.uts'
- // 与技师相关的V3接口 | UTS 规范版
- // 获取技师钱包信息
- export function getCoachWallteInfo() : Promise<any> {
- return request({
- url: "/api/coach/v3/wallet",
- method: "GET"
- })
- }
- // 获取本月账单
- export function getCoachTransRecords(params : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/wallet/trans-records",
- method: "GET",
- params: params
- })
- }
- // 路费转出
- export function saveTransInfo(data : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/wallet/travel-withdraw",
- method: "POST",
- data: data
- })
- }
- // 申请提现
- export function createWithdraw(data : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/wallet/withdraw",
- method: "POST",
- data: data
- })
- }
- // 提现记录列表
- export function recordsList(params : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/wallet/withdraw-records",
- method: "GET",
- params: params
- })
- }
- // 技师确认收款
- export function withdrawalCoachInfo(data : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/wallet/confirm-withdraw",
- method: "POST",
- data: data
- })
- }
- // 获取本月邀请的技师/用户佣金账单明细
- export function getCoachYjRecords(params : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/team/team-records",
- method: "GET",
- params: params
- })
- }
- // 技师缴纳保证金充值
- export function deposit(data : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/pledge/recharge",
- method: "POST",
- data: data
- })
- }
- // 技师保证金账单明细
- export function getDepositBill(params : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/pledge/getAssure",
- method: "GET",
- params: params
- })
- }
|