| 12345678910111213141516171819202122232425262728293031 |
- // 导入请求
- import { request } from '../request.uts'
- export function getAllData(params : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/orders/statistics",
- method: "GET",
- params: params
- })
- }
- export function editCoachWorkState(data : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/account/work-status",
- method: "POST",
- data: data
- })
- }
- export function editWorkTimeSetting(data : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/account/schedule",
- method: "POST",
- data: data
- })
- }
- export function toggleProject(data : any) : Promise<any> {
- return request({
- url: "/api/coach/v3/projects/open",
- method: "POST",
- data: data
- })
- }
|