/*
 * @Description: 对应sys-user-service服务的公共接口
 * @Author: zhoupeng
 * @Date: 2020-04-22 16:14:11
 * @LastEditTime: 2020-04-23 11:25:15
 */

import request from '../../../utils/request';
import Config from '../../../utils/config';

export const sendCode = data => {
  return request(
    {
      url: Config.apis.cku.common.sendCode,
      method: 'POST',
      data,
    },
    'nothing',
  );
};

export const uploadImg = data => {
  return request(
    {
      url: Config.apis.cku.common.uploadImg,
      method: 'POST',
      data,
    },
    'nothing',
  );
};

export const getClubPayInfo = () => {
  return request(
    {
      url: Config.apis.cku.common.getClubPayInfo,
      method: 'GET',
    },
    'nothing',
  );
};
