/*
 * @Author: your name
 * @Date: 2021-06-23 23:18:10
 * @LastEditTime: 2021-06-24 22:48:05
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \Mina_B_T\miniprogram\service\service.d.ts
 */

type getAuthCodeDataType = {
	phone: String;
	ticket: String;
	randstr: String;
};

type phoneLoginDataType = {
	phone: String;
	code: String;
	register_from: Number;
};
type getOrdersDataType = {
	pageNo: Number;
	pageSize: Number;
	status: Number
};
type getHwPaymentDetailsListDataType = {
	pageNo: Number;
	pageSize: Number;
};
type getEnrollmentsDataType = {
	pageNo: Number;
	pageSize: Number;
};
type getPaymentDetailDataType = {
	paymentDetailId: Number
}
type confirmOrderDatatype = {
	orderId: Number;
};

type enrollmentRequireDataType = {
	requirement_id: Number;
	name: String;
	idcardNumber?: String;
	bright_points?: String;
	enroll_from: Number;
};

type cancelEnrollmentDataType = {
	enroll_id: Number;
};

type getOrderDetailDataType = {
	orderId: Number;
};

type getRequirementDetailDataType = {
	user_id: Number;
	user_token: Number;
	hwRequirementId: Number;
};

interface getRequirementsData {
  pageNo: number
  pageSize: number
  province_code?: number
  city_code?: number
  country_code?: number
  trade_type?: number
  priceType?: number
  platform_id?: number
}

type taxRegistrationResponseType = {
	taxUrl: string,
	taxMessage: string,
	taxName: string
}