123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- import { http } from './http'
- const test = false;
- function getopenId(code) {
- return http.get('/duoduo-service/wechat-service/wechat/app/getOpenId', { code: code })
- }
- function getuserPhone(data) {
- return http.get('/duoduo-service/wechat-service/wechat/app/getUserInfo', data)
- }
- function userCheck(data) {
- return http.get('/server/user/check', data)
- }
- function userSave(data) {
- return http.post('/server/user/save', data)
- }
- function userQuery(data) {
- return http.post('/server/user/query', data)
- }
- function userUpdate(data) {
- return http.post('/server/user/update', data)
- }
- function spaceProperty(data) {
- return http.get('/server/custom/spaceProperty', data, test)
- }
- function queryChart(data) {
- return http.get('/server/space/queryPeriodData', data)
- }
- function queryAllspace(data) {
- return http.post('/server/space/queryAll', data, test)
- }
- function queryFollowspace(data) {
- return http.post('/server/space/querySubscribe', data)
- }
- function powerCheck(data) {
- return http.post('/server/custom/check', data, test)
- }
- function workLeave(data) {
- return http.post('/server/custom/leave', data, test)
- }
- function nextOpen(data) {
- return http.post('/server/custom/nextOpenTime', data, test)
- }
- function getfeedBack(data) {
- return http.post('/server/custom/feedbackCreate', data, test)
- }
- function getSpacedetail(data) {
- return http.post('/server/space/property', data, test)
- }
- function openSpace(data) {
- return http.post('/server/custom/recover', data, test)
- }
- function comfirmCodeLogin(data) {
- return http.post('/server/padLogin/confirmPadLogin', data,'test')
- }
- function getEquipmentAction(data) {
- return http.post('/server/custom/getEquipmentAction', data, test)
- }
- function getSpaceAdjustList(data) {
- return http.post('/server/spaceAdjust/getSpaceAdjustList', data, test)
- }
- function getPropertyData(data) {
- return http.get('/server/spaceAdjust/queryPropertyData', data, test)
- }
- function getFeedbackList(data) {
- return http.post('/server/custom/adjustSpaceList', data, test)
- }
- function getfeedbackSeason(data) {
- return http.post('/server/feedbackSeason/query', data, test)
- }
- function getSpaceNum(data) {
- return http.post('/server/spaceAdjust/getSpaceNum', data, test)
- }
- function spaceTop(data) {
- return http.post('/server/spaceAdjust/pcSaveAndUpdate', data, test)
- }
- function deleteSpaceAdjust(data) {
- return http.get('/server/spaceAdjust/delete', data, test)
- }
- function gethouseKeeper(data) {
- return http.get('/server/duoduoenv/customerservice/queryCustomer', data, test)
- }
- function getSeasonType(data) {
- return http.get('/duoduo-service/custom-service/custom/getSeasonType', data, test)
- }
- function getWeather(data) {
- return http.get('/duoduo-service/object-service/weather/getCurrentWeather', data, test)
- }
- function submitFeedback(data) {
- return http.post('/server/feedbackSuggest/save', data, test)
- }
- function submitAdjust(data) {
- return http.post('/server/custom/custormPlan', data, test)
- }
- function getCurrentSeason(data) {
- return http.get('/duoduo-service/custom-service/custom/getSeasonType', data, test)
- }
- function contactTenant(data) {
- return http.post('/server/spaceAdjust/adjustSpace', data, test)
- }
- function getTransfrom(data) {
- return http.get('/duoduo-service/custom-service/custom/getSeasonBySeasonDate', data, test)
- }
- function queryQuestion(data) {
- return http.post('/server/question/queryQuestion', data, test)
- }
- function queryUseranswer(data) {
- return http.post('/server/question/queryShowQuestion', data, test)
- }
- function submitAnswer(data) {
- return http.post('/server/question/saveUserQuestion', data, test)
- }
- function notShowQuestion(data) {
- return http.post('/server/question/notShowQuestion', data, test)
- }
- module.exports = {
- getopenId,
- getuserPhone,
- userCheck,
- userSave,
- userQuery,
- userUpdate,
- spaceProperty,
- queryChart,
- queryAllspace,
- queryFollowspace,
- powerCheck,
- workLeave,
- nextOpen,
- getfeedBack,
- getSpacedetail,
- openSpace,
- getEquipmentAction,
- getSpaceAdjustList,
- getPropertyData,
- getFeedbackList,
- getfeedbackSeason,
- getSpaceNum,
- spaceTop,
- deleteSpaceAdjust,
- gethouseKeeper,
- getSeasonType,
- getWeather,
- submitFeedback,
- submitAdjust,
- getCurrentSeason,
- contactTenant,
- getTransfrom,
- queryQuestion,
- queryUseranswer,
- submitAnswer,
- notShowQuestion,
- comfirmCodeLogin
- }
|