123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465 |
- /**
- * 接口列表文件
- */
- export default {
- conf: {
- getGroupConf: {
- url: "conf/getGroupConf",
- auth: false,
- method: "GET", //全局信息
- }
- },
- template: {
- list: {
- url: "template/list",
- auth: false,
- method: "GET", //全局信息
- },
- info: {
- url: "template/info",
- auth: false,
- method: "GET", //全局信息
- }
- },
- ai: {
- chat: {
- url: "ai/chat",
- auth: true,
- method: "POST",
- },
- chat4: {
- url: "ai/chat4",
- auth: false,
- method: "POST",
- },
- chat4event: {
- url: "ai/chat4event",
- auth: false,
- method: "POST",
- },
- getProxy: {
- url: "ai/getProxy",
- auth: true,
- method: "GET",
- },
- test: {
- url: "ai/test",
- auth: false,
- method: "POST",
- },
- getAddress: {
- url: "ai/getAddress",
- auth: true,
- method: "GET",
- },
- checkText: {
- url: "ai/checkText",
- auth: true,
- method: "GET",
- },
- painting: {
- url: "ai/painting",
- auth: true,
- method: "POST",
- },
- showTask: {
- url: "ai/showTask",
- auth: true,
- method: "GET",
- },
- tts: {
- url: "ai/tts",
- auth: true,
- method: "POST",
- },
- ttsJob: {
- url: "ai/ttsJob",
- auth: true,
- method: "GET",
- },
- recognizer: {
- url: "ai/recognizer",
- auth: true,
- method: "POST",
- }
- },
- gallery: {
- getOpensdDetail: {
- url: "gallery/getOpensdDetail",
- auth: true,
- method: "GET",
- },
- list: {
- url: "gallery/list",
- auth: true,
- method: "GET",
- },
- del: {
- url: "gallery/del",
- auth: true,
- method: "POST",
- },
- getWords: {
- url: "gallery/getWords",
- auth: false,
- method: "GET",
- },
- getModels: {
- url: "gallery/getModels",
- auth: false,
- method: "GET",
- },
- // 生成diffcution
- create: {
- url: "gallery/create",
- auth: true,
- method: "POST",
- },
- chat: {
- url: "gallery/chat",
- auth: true,
- method: "POST",
- },
- all: {
- url: "gallery/all",
- auth: false,
- method: "GET",
- },
- fetch: {
- url: "gallery/fetch",
- auth: true,
- method: "GET",
- },
- detail: {
- url: "gallery/detail",
- auth: false,
- method: "GET",
- },
- imagine: {
- url: "gallery/imagine",
- auth: true,
- method: "POST",
- },
- getAsyncResult: {
- url: "gallery/getAsyncResult",
- auth: true,
- method: "GET",
- },
- upscale: {
- url: "gallery/upscale",
- auth: true,
- method: "POST",
- },
- variation: {
- url: "gallery/variation",
- auth: true,
- method: "POST",
- },
- setOpen: {
- url: "gallery/setOpen",
- auth: true,
- method: "POST",
- },
- test: {
- url: "gallery/test",
- auth: true,
- method: "POST",
- }
- },
- commission: {
- addTeam: {
- url: "commission/addTeam",
- auth: false,
- method: "POST", //绑定分享关系
- },
- teamList: {
- url: "commission/teamList",
- auth: false,
- method: "GET", //首页信息
- },
- auth: {
- url: "commission/auth",
- auth: false,
- method: "GET", //分销商信息
- },
- apply: {
- url: "commission/apply",
- auth: false,
- method: "POST", //申请成为分销商
- },
- incomeLog: {
- url: "commission/incomeLog",
- auth: false,
- method: "GET", //我的佣金收入明细
- },
- cashoutLog: {
- url: "commission/cashoutLog",
- auth: false,
- method: "GET", //提现记录
- },
- extract: {
- url: "commission/extract",
- auth: false,
- method: "POST", //申请提现
- },
- ranking: {
- url: "commission/ranking",
- auth: false,
- method: "GET", //分销排行榜
- },
- update: {
- url: "commission/update",
- auth: false,
- method: "POST", //提现信息
- },
- create: {
- url: "commission/create",
- auth: false,
- method: "POST", //付费成为分销商下单
- }
- },
- question: {
- list: {
- url: "question/list",
- auth: false,
- method: "GET", //对话记录
- },
- my: {
- url: "question/my",
- auth: false,
- method: "GET", //对话记录
- },
- add: {
- url: "question/add",
- auth: false,
- method: "POST", //对话记录
- },
- del: {
- url: "question/del",
- auth: false,
- method: "POST", //对话记录删除
- }
- },
- city: {
- list: {
- url: "city/list",
- auth: false,
- method: "GET", //图片上传
- },
- },
- common: {
- upload: {
- url: "common/upload",
- auth: false,
- method: "POST", //图片上传
- },
- del_pic: {
- url: "common/del_pic",
- auth: false,
- method: "POST", //图片删除
- },
- template: {
- url: "common/template",
- auth: false,
- method: "GET", //模板数据
- },
- sendMobileCode: {
- url: "common/sendMobileCode",
- auth: false,
- method: "POST", //验证码
- },
- qrcodePath: {
- url: "common/qrcodePath",
- auth: false,
- method: "GET", //二维码数据
- }
- },
- wechat: {
- miniappSilenceAuth: {
- url: "wechat/miniappSilenceAuth",
- auth: false,
- method: "POST", //微信小程序静默登录
- },
- miniappAuth: {
- url: "wechat/miniappAuth",
- auth: false,
- method: "POST", //小程序登录
- },
- authBindindPhone: {
- url: "wechat/authBindindPhone",
- auth: false,
- method: "POST", //手机号登录
- },
- wechatJssdk: {
- url: "wechat/wechatJssdk",
- auth: false,
- method: "GET",
- },
- wechatAuth: {
- url: "wechat/wechatAuth",
- auth: false,
- method: "GET",
- },
- authBindindPhoneCode: {
- url: "wechat/authBindindPhoneCode",
- auth: false,
- method: "POST", //手机号登录
- }
- },
- user: {
- info: {
- url: "user/info",
- auth: true,
- method: "POST", //用户信息
- },
- profile: {
- url: "user/profile",
- auth: true,
- method: "POST", //修改用户信息
- },
- userData: {
- url: "user/userData",
- auth: true,
- method: "GET", //用户重要信息
- },
- login: {
- url: "user/login",
- auth: false,
- method: "POST", //用户登录
- },
- register: {
- url: "user/register",
- auth: false,
- method: "POST", //用户注册
- }
- },
- order: {
- create: {
- url: "order/create",
- auth: true,
- method: "POST", //创建订单
- },
- detail: {
- url: "order/detail",
- auth: true,
- method: "GET", //订单详情
- },
- my: {
- url: "order/my",
- auth: true,
- method: "GET", //订单记录
- },
- createSettle: {
- url: "order/createSettle",
- auth: true,
- method: "POST", //创建订单
- },
- detailSettle: {
- url: "order/detailSettle",
- auth: true,
- method: "GET", //入驻订单详情
- }
- },
- pay: {
- prepay: {
- url: "pay/prepay",
- auth: true,
- method: "POST", //微信预支付
- },
- hupijiaopay: {
- url: "pay/hupijiaopay",
- auth: true,
- method: "POST", //虎皮椒预支付
- }
- },
- member: {
- list: {
- url: "member/list",
- auth: false,
- method: "GET", //会员列表
- },
- addCoin: {
- url: "member/addCoin",
- auth: false,
- method: "POST", //奖励金币
- },
- reduceCoin: {
- url: "member/reduceCoin",
- auth: false,
- method: "POST", //消费金币
- },
- bill: {
- url: "member/bill",
- auth: false,
- method: "GET", //记录
- },
- kami: {
- url: "member/kami",
- auth: false,
- method: "POST", //卡密兑换
- }
- },
- more: {
- list: {
- url: "more/list",
- auth: false,
- method: "GET", //更多好玩列表
- },
- visit: {
- url: "more/visit",
- auth: false,
- method: "POST", //增加在玩记录
- },
- },
- messageSystem: {
- list: {
- url: "messageSystem/list",
- auth: false,
- method: "GET", //消息列表
- },
- detail: {
- url: "messageSystem/detail",
- auth: false,
- method: "GET", //消息详情
- },
- new: {
- url: "messageSystem/new",
- auth: false,
- method: "GET", //最新
- }
- },
- chat: {
- getList: {
- url: "chat/getList",
- auth: false,
- method: "GET", //聊天列表
- },
- getChatHistoryConent: {
- url: "chat/getChatHistoryConent",
- auth: false,
- method: "GET", //获取历史聊天对话内容记录
- },
- getHead: {
- url: "chat/getHead",
- auth: false,
- method: "GET", //获得聊天双方头像
- },
- saveMessage: {
- url: "chat/saveMessage",
- auth: false,
- method: "POST", //保存信息
- },
- setRead: {
- url: "chat/setRead",
- auth: false,
- method: "POST", //设置未读消息为已读
- },
- getChatCode: {
- url: "chat/getChatCode",
- auth: false,
- method: "GET", //获取聊天code
- }
- }
- };
|