123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- import request from '@/utils/request'
- import {upFilse} from '@/utils/request'
- // 获取轮播图
- export function loadIndexs(data) {
- return request({
- url: '/api/index',
- method: 'get',
- data
- });
- }
- // 获取文章列表
- export function bannerlist(data) {
- return request({
- url: '/api/article/list/1',
- method: 'get',
- data
- });
- }
- //上传图片
- export function upload(data) {
- return upFilse({
- url: '/api/upload/image',
- method: 'post',
- data
- });
- }
- // 促销商品
- export function groom4(data) {
- return request({
- url: '/api/groom/list/4',
- method: 'get',
- data
- });
- }
- // 精品推荐
- export function groom1(data) {
- return request({
- url: '/api/groom/list/1',
- method: 'get',
- data
- });
- }
- // 新品首发
- export function groom3(data) {
- return request({
- url: '/api/groom/list/3',
- method: 'get',
- data
- });
- }
- // 获取我创建的圈子
- export function myCreateCircle(data) {
- return request({
- url: '/api/circle/mycreate',
- method: 'post',
- data
- });
- }
- // 造血干细胞捐献
- export function getList(data) {
- return request({
- url: '/api/sign_cell',
- method: 'post',
- data
- });
- }
- // 救护者页面获取参与人数
- export function getNumber(data) {
- return request({
- url: '/api/get_rescuer',
- method: 'get',
- data
- });
- }
- // joinSec
- export function joinSec(data) {
- return request({
- url: '/api/add_volunteers',
- method: 'post',
- data
- });
- }
- // joinSecc 器官捐赠
- export function joinSecc(data) {
- return request({
- url: '/api/add_donation',
- method: 'post',
- data
- });
- }
- // 获取定位
- export function getdis (data) {
- return request({
- url: '/api/getdis',
- method: 'get',
- data
- });
- }
- // 立即救援
- export function tocall (data) {
- return request({
- url: '/api/do_getdis',
- method: 'get',
- data
- });
- }
- // 救护培训报名
- export function training(data) {
- return request({
- url: '/api/training',
- method: 'get',
- data
- });
- }
- // 求助记录 getsee
- export function getseek(data) {
- return request({
- url: '/api/seek',
- method: 'get',
- data
- });
- }
- // getcomAddress 获取常用地址
- export function getcomAddress(data) {
- return request({
- url: '/api/get_commonly',
- method: 'get',
- data
- });
- }
- // 救援记录 rescue
- export function getrescue(data) {
- return request({
- url: '/api/rescueee',
- method: 'get',
- data
- });
- }
- export function change_rescue(data) {
- return request({
- url: '/api/change_rescue',
- method: 'get',
- data
- });
- }
- // 获取ADE经纬度 getListAED getDistance
- export function getListAED(data) {
- return request({
- url: '/api/getAed',
- method: 'get',
- data
- });
- }
- export function getDistance(data) {
- return request({
- url: '/api/aeddiss',
- method: 'get',
- data
- });
- }
- // deleteList 删除救援地址
- export function deleteList(data) {
- return request({
- url: '/api/del_resc',
- method: 'get',
- data
- });
- }
- //获取驿站(机构)
- export function getListMechanism(data) {
- return request({
- url: '/api/mechanism',
- method: 'get',
- data
- });
- }
|