| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import request from "@/sheep/request";
- const myFeatAPI = {
- // 渠道合作===》应聘技师填写信息
- submitApplyTechnician: (data) => {
- return request({
- url: "/client/user/apply-coach",
- method: "post",
- data,
- custom: {
- showSuccess: true,
- loadingMsg: "正在提交技师信息",
- },
- });
- },
- //获取技师申请信息记录
- getTechinicianList: () => {
- return request({
- url: "/client/user/coach/application",
- method: "get",
- });
- },
- // 获取会员套餐信息
- getMemberPackages: () => {
- return request({
- url: "/client/member/packages",
- method: "get",
- });
- },
- // 开通会员
- activateMember: (data) => {
- return request({
- url: `/client/member/quick-purchase`,
- method: "post",
- data,
- custom: {
- showSuccess: true,
- loadingMsg: "开通vip",
- },
- });
- },
- //代理申请
- applyData: (data) => {
- return request({
- url: `/client/agent/apply`,
- method: "post",
- data,
- });
- },
- // 获取海报图片
- getPosterImage: (data) => {
- return request({
- url: `/client/posters/generate`,
- method: "post",
- data,
- });
- },
- // 获取团队列表
- getTeamList: (params) => {
- return request({
- url: `/client/team/list`,
- method: "get",
- params,
- });
- },
- // 获取佣金列表
- getCommissionList: (params) => {
- return request({
- url: `/client/team/commission-records`,
- method: "get",
- params,
- });
- },
- };
- export default myFeatAPI;
|