123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- import { getHttp, postHttp } from "../request.js";
- export const purchaserApi = {
-
- getPurchaserBanner: () => {
- return getHttp("/banner/listYx");
- },
-
- purchaserSurveySubmit: (params) => {
- return postHttp("/banner/add/yxSurvey", params);
- },
-
- purchaserSurveyDetail: (params) => {
- return getHttp("/banner/yxSurvey/detail", params);
- },
-
- questionnaireDetail: (params) => {
- return getHttp("/questionnaire/detail", params);
- },
-
- questionnaireVote_add: (params) => {
- return postHttp("/questionnaire/vote_add", params);
- },
-
- yanxuanSpecialList: (params) => {
- return getHttp("/yanxuan_special/list", params, 1);
- },
-
- yanxuanSpecialAuthorDetail: (params) => {
- return getHttp("/yanxuan_special/author/detail", params, 1);
- },
-
- yanxuanSpecialDetail: (params) => {
- return getHttp("/yanxuan_special/detail", params, 1);
- },
-
- yanxuanSpecialAuthorSave: (params) => {
- return postHttp("/yanxuan_special/author/save", params, 1);
- },
-
- yanxuanSpecialIndustrySearch: (params) => {
- return getHttp("/yanxuan_special/industrySearch", params, 1);
- },
-
- yanxuanSpecialCompanySearch: (params) => {
- return getHttp("/yanxuan_special/companySearch", params, 1);
- },
-
- yanxuanSpecialSave: (params) => {
- return postHttp("/yanxuan_special/save", params, 1);
- },
-
- yanxuanSpecialCenter: (params) => {
- return getHttp("/yanxuan_special/center", params, 1);
- },
-
- yanxuanSpecialCancel: (params) => {
- return postHttp("/yanxuan_special/cancel", params, 1);
- },
-
- yanxuanSpecialEnable: (params) => {
- return postHttp("/yanxuan_special/enable", params, 1);
- },
-
- yanxuanSpecialAuthorList: (params) => {
- return getHttp("/yanxuan_special/author/list", params, 1);
- },
-
- yanxuanSpecialCollect: (params) => {
- return postHttp("/yanxuan_special/collect", params, 1);
- },
-
- yanxuanSpecialAuthorImg: (params) => {
- return postHttp("/yanxuan_special/author/head_img", params, 1);
- },
-
- yanxuanSpecialDel: (params) => {
- return postHttp("/yanxuan_special/del", params, 1);
- },
-
- yanxuanSpecialFollow: (params) => {
- return postHttp("/yanxuan_special/follow", params, 1);
- },
-
- yanxuanSpecialCheck: (params) => {
- return postHttp("/yanxuan_special/check", params);
- },
-
- getActivityTypelist: (params) => {
- return getHttp("/activity/activityTypelist", params);
- },
- };
|