123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- import url from './urls'
- export default class Home {
-
- static getToken (parms) {
- return $http.post(url.getToken, parms);
- }
- static getTotal (parms) {
- return $http.get(url.getTotal, parms);
- }
- static getToday (parms) {
- return $http.get(url.getToday, parms);
- }
- static getSkinList (parms) {
- return $http.get(url.getSkinList, parms);
- }
- static getSkinInfo (parms) {
- return $http.get(url.getSkinInfo, parms);
- }
- static getProject (parms) {
- return $http.get(url.getProject, parms);
- }
- static getUserInfo (parms) {
- return $http.get(url.getUserInfo, parms);
- }
- static getSkinTags (parms) {
- return $http.get(url.getSkinTags, parms);
- }
- static getSkinUpdate (parms) {
- return $http.post(url.getSkinUpdate, parms);
- }
- static getProjectList (parms) {
- return $http.get(url.getProjectList, parms);
- }
- static getProducts (parms) {
- return $http.get(url.getProducts, parms);
- }
- static getOrderTime (parms) {
- return $http.get(url.getOrderTime, parms);
- }
- static setOrderUpdate (parms) {
- return $http.post(url.setOrderUpdate, parms);
- }
- static getOrderCoupon (parms) {
- return $http.get(url.getOrderCoupon, parms);
- }
- static getAuthCode (parms) {
- return $http.get(url.getAuthCode, parms);
- }
- static checkCode (parms) {
- return $http.get(url.checkCode, parms);
- }
- static getOrderByCode (parms) {
- return $http.get(url.getOrderByCode, parms);
- }
- static orderPay (parms) {
- return $http.post(url.orderPay, parms);
- }
- static payStatus (parms) {
- return $http.get(url.payStatus, parms);
- }
- static getOrderDiscount (parms) {
- return $http.get(url.getOrderDiscount, parms);
- }
- static projectClassify (parms) {
- return $http.get(url.projectClassify, parms);
- }
- static schemeDelete (parms) {
- return $http.post(url.schemeDelete, parms);
- }
- static timesAdd (parms) {
- return $http.post(url.timesAdd, parms);
- }
- static addUpdate (parms) {
- return $http.post(url.addUpdate, parms);
- }
-
- static getOrderList (parms) {
- return $http.get(url.getOrderList, parms);
- }
-
- static getOrderInfo (parms) {
- return $http.get(url.getOrderInfo, parms);
- }
-
- static getUserList (parms) {
- return $http.get(url.getUserList, parms);
- }
-
-
-
-
-
- static getCouponInfo (parms) {
- return $http.get(url.getCouponInfo, parms);
- }
-
- static sendCoupon (parms) {
- return $http.post(url.sendCoupon, parms);
- }
-
- static getPadUserInfo (parms) {
- return $http.get(url.getPadUserInfo, parms);
- }
-
- static getUserCoupon (parms) {
- return $http.get(url.getUserCoupon, parms);
- }
-
- static getUserGoods (parms) {
- return $http.get(url.getUserGoods, parms);
- }
-
- static getUserProject (parms) {
- return $http.get(url.getUserProject, parms);
- }
-
- static padOrderAdd (parms) {
- return $http.post(url.padOrderAdd, parms);
- }
-
- static skinFace_tags (parms) {
- return $http.get(url.skinFace_tags, parms);
- }
-
- static skinSkin_tags (parms) {
- return $http.get(url.skinSkin_tags, parms);
- }
-
- static schemeSave (parms) {
- return $http.post(url.schemeSave, parms);
- }
-
- static reservedRecords (params) {
- return $http.get(url.reservedRecords, params)
- }
- }
|