import {
  request
} from '../_utils/request';

/** 获取轮播图列表 */
export function getbannerList() {
  return new Promise((resolve, reject) => {
    request({
      url: `BannerApi/getBannerList?BannerPosition=1`,
      method: 'GET',
      success: function (res) {
        resolve(res);
      },
      fail: function (error) {
        reject(error);
      }
    });
  });
}