import Request from '../common/request.js';
let request = new Request().http
 
 export function loginByMiniApp(data) {
 	 return request('/store/app/wx/loginByMiniApp',data,'POST','application/json;charset=UTF-8');
 }
 export function loginByMp(data) {
 	 return request('/store/app/wx/loginByMp',data,'POST','application/json;charset=UTF-8');
 }
 export function getUserInfo() {
 	 return request('/app/dockerInfo/getDockerInfo',null,'GET');
 }
 
 export function editUser(data) {
 	return request('/store/app/user/editUser',data,'POST','application/json;charset=UTF-8');
 }
 
 export function getWeixinInfo(data) {
 	return request('/store/app/wx/getWeixinInfo',data,'POST','application/json;charset=UTF-8');
 }
 export function checkLogin() {
 	 return request('/store/app/user/checkLogin',null,'GET');
 }
 export function getTuiImg() {
 	 return request('/store/app/user/getTuiImg',null,'GET');
 }
 export function getMyTuiOrderList(data) {
 	 return request('/store/app/user/getMyTuiOrderList',data,'GET');
 }
 export function getTuiMoney() {
 	 return request('/store/app/user/getTuiMoney',null,'GET');
 }
 export function getMyTuiList(data) {
 	 return request('/store/app/user/getMyTuiList',data,'GET');
 }
 export function getTuiMoneyLogs(data) {
 	 return request('/store/app/user/getTuiMoneyLogs',data,'GET');
 }
 
 export function getProductFoots(data) {
 	 return request('/store/app/user/getProductFoots',data,'GET');
 }
 export function delProductFoots(data) {
 	 return request('/store/app/user/delProductFoots',data,'POST','application/json;charset=UTF-8');
 }
 
 export function doExtract(data) {
 	 return request('/store/app/user/doExtract',data,'POST','application/json;charset=UTF-8');
 }
 export function getExtractList(data) {
 	 return request('/store/app/user/getExtractList',data,'GET');
 }
 export function applyPromoter(data) {
 	 return request('/store/app/user/applyPromoter',data,'POST','application/json;charset=UTF-8');
 }
 export function bindPromoter(data) {
 	 return request('/store/app/user/bindPromoter',data,'POST','application/json;charset=UTF-8');
 }
 
 
 
 
 
 
 
 
 
 
 
 