123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- import request 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 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
- });
- }
- // 获取定位
- 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
- });
- }
- // 求助记录 getsee
- export function getseek(data) {
- return request({
- url: '/api/seek',
- 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
- });
- }
- // 志愿者报名
- export function add_volunteers(data) {
- return request({
- url: '/api/add_registration',
- method: 'post',
- data
- });
- }
|