|
|
@@ -1446,6 +1446,6072 @@ declare global {
|
|
|
config: Config
|
|
|
): Alova2Method<apiResData<void>, 'attractions.cancelOrder', Config>;
|
|
|
}
|
|
|
+ app: {
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券活动列表查询
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/memberCoupon/page
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * // 优惠券状态
|
|
|
+ * useStatus?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 第三方id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 门槛(单位(元)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(元)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 使用状态:0-未使用 1-已使用 2-已过期
|
|
|
+ * useStatus?: number
|
|
|
+ * // 锁定状态:0-未锁定/已释放 1-已锁定
|
|
|
+ * lockStatus?: number
|
|
|
+ * // 锁定的订单ID
|
|
|
+ * lockOrderId?: string
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * // 订单使用时间
|
|
|
+ * orderCreateTime?: string
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_membercoupon_page<
|
|
|
+ Config extends Alova2MethodConfig<PageResultAppMemberCouponVO> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 页码
|
|
|
+ */
|
|
|
+ pageNum?: number;
|
|
|
+ /**
|
|
|
+ * 每页记录数
|
|
|
+ */
|
|
|
+ pageSize?: number;
|
|
|
+ /**
|
|
|
+ * 优惠券状态
|
|
|
+ */
|
|
|
+ useStatus?: number;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultAppMemberCouponVO, 'app.get_smqjh_system_app_api_membercoupon_page', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券详情查询
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/memberCoupon/findById
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * id: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 门槛(单位(元)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 第三方的津贴/券id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 批次id
|
|
|
+ * batchId?: string
|
|
|
+ * // 面额(单位(元)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 使用状态:0-未使用 1-已使用 2-已过期
|
|
|
+ * useStatus?: number
|
|
|
+ * // 锁定状态:0-未锁定/已释放 1-已锁定
|
|
|
+ * lockStatus?: number
|
|
|
+ * // 领取时间
|
|
|
+ * getTime?: string
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * // 订单使用时间
|
|
|
+ * orderPayTime?: string
|
|
|
+ * // 锁定的订单ID
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 订单金额(单位:分)
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 实付金额(单位:分)
|
|
|
+ * realMoney?: number
|
|
|
+ * // 优惠减免金额
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 下单时间
|
|
|
+ * orderCreateTime?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_membercoupon_findbyid<
|
|
|
+ Config extends Alova2MethodConfig<ResultAppCouponDetailsVO> & {
|
|
|
+ params: {
|
|
|
+ id: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultAppCouponDetailsVO, 'app.get_smqjh_system_app_api_membercoupon_findbyid', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券活动列表查询
|
|
|
+ *
|
|
|
+ * **path:** /app-api/memberCoupon/page
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * // 优惠券状态
|
|
|
+ * useStatus?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 第三方id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 门槛(单位(元)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(元)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 使用状态:0-未使用 1-已使用 2-已过期
|
|
|
+ * useStatus?: number
|
|
|
+ * // 锁定状态:0-未锁定/已释放 1-已锁定
|
|
|
+ * lockStatus?: number
|
|
|
+ * // 锁定的订单ID
|
|
|
+ * lockOrderId?: string
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * // 订单使用时间
|
|
|
+ * orderCreateTime?: string
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_membercoupon_page<
|
|
|
+ Config extends Alova2MethodConfig<PageResultAppMemberCouponVO> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 页码
|
|
|
+ */
|
|
|
+ pageNum?: number;
|
|
|
+ /**
|
|
|
+ * 每页记录数
|
|
|
+ */
|
|
|
+ pageSize?: number;
|
|
|
+ /**
|
|
|
+ * 优惠券状态
|
|
|
+ */
|
|
|
+ useStatus?: number;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultAppMemberCouponVO, 'app.get_app_api_membercoupon_page', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券详情查询
|
|
|
+ *
|
|
|
+ * **path:** /app-api/memberCoupon/findById
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * id: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 门槛(单位(元)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 第三方的津贴/券id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 批次id
|
|
|
+ * batchId?: string
|
|
|
+ * // 面额(单位(元)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 使用状态:0-未使用 1-已使用 2-已过期
|
|
|
+ * useStatus?: number
|
|
|
+ * // 锁定状态:0-未锁定/已释放 1-已锁定
|
|
|
+ * lockStatus?: number
|
|
|
+ * // 领取时间
|
|
|
+ * getTime?: string
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * // 订单使用时间
|
|
|
+ * orderPayTime?: string
|
|
|
+ * // 锁定的订单ID
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 订单金额(单位:分)
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 实付金额(单位:分)
|
|
|
+ * realMoney?: number
|
|
|
+ * // 优惠减免金额
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 下单时间
|
|
|
+ * orderCreateTime?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_membercoupon_findbyid<
|
|
|
+ Config extends Alova2MethodConfig<ResultAppCouponDetailsVO> & {
|
|
|
+ params: {
|
|
|
+ id: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultAppCouponDetailsVO, 'app.get_app_api_membercoupon_findbyid', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 查询用户下单时使用优惠劵
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/memberCoupon/findPlaceOrderList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 门店id
|
|
|
+ * // 用于判断是否满足门店使用限制条件
|
|
|
+ * storeId?: string
|
|
|
+ * // 订单金额
|
|
|
+ * // 用于判断是否满足满减的条件。 单位:分
|
|
|
+ * orderAmount?: number
|
|
|
+ * // 津贴类型
|
|
|
+ * // 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * appCouponOrderOptimalVO?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 订单金额,单位:元
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 优惠金额,单位:元
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 结束时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }
|
|
|
+ * // 可以用优惠劵
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * appCouponOrderVOList?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 订单金额,单位:元
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 优惠金额,单位:元
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 结束时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * // 不可用优惠劵
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * appCouponNoOrderVOList?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 订单金额,单位:元
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 优惠金额,单位:元
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 结束时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_membercoupon_findplaceorderlist<
|
|
|
+ Config extends Alova2MethodConfig<ResultAppMemberCouponOrderVO> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 门店id
|
|
|
+ * 用于判断是否满足门店使用限制条件
|
|
|
+ */
|
|
|
+ storeId?: string;
|
|
|
+ /**
|
|
|
+ * 订单金额
|
|
|
+ * 用于判断是否满足满减的条件。 单位:分
|
|
|
+ */
|
|
|
+ orderAmount?: number;
|
|
|
+ /**
|
|
|
+ * 津贴类型
|
|
|
+ * 2.枪价券
|
|
|
+ */
|
|
|
+ allowanceType?: number;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultAppMemberCouponOrderVO,
|
|
|
+ 'app.get_smqjh_system_app_api_membercoupon_findplaceorderlist',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 查询用户下单时使用优惠劵
|
|
|
+ *
|
|
|
+ * **path:** /app-api/memberCoupon/findPlaceOrderList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 门店id
|
|
|
+ * // 用于判断是否满足门店使用限制条件
|
|
|
+ * storeId?: string
|
|
|
+ * // 订单金额
|
|
|
+ * // 用于判断是否满足满减的条件。 单位:分
|
|
|
+ * orderAmount?: number
|
|
|
+ * // 津贴类型
|
|
|
+ * // 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * appCouponOrderOptimalVO?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 订单金额,单位:元
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 优惠金额,单位:元
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 结束时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }
|
|
|
+ * // 可以用优惠劵
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * appCouponOrderVOList?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 订单金额,单位:元
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 优惠金额,单位:元
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 结束时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * // 不可用优惠劵
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * appCouponNoOrderVOList?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 订单金额,单位:元
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 优惠金额,单位:元
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 结束时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_membercoupon_findplaceorderlist<
|
|
|
+ Config extends Alova2MethodConfig<ResultAppMemberCouponOrderVO> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 门店id
|
|
|
+ * 用于判断是否满足门店使用限制条件
|
|
|
+ */
|
|
|
+ storeId?: string;
|
|
|
+ /**
|
|
|
+ * 订单金额
|
|
|
+ * 用于判断是否满足满减的条件。 单位:分
|
|
|
+ */
|
|
|
+ orderAmount?: number;
|
|
|
+ /**
|
|
|
+ * 津贴类型
|
|
|
+ * 2.枪价券
|
|
|
+ */
|
|
|
+ allowanceType?: number;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultAppMemberCouponOrderVO, 'app.get_app_api_membercoupon_findplaceorderlist', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券活动列表查询
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/coupon/page
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 含税采购价(元)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * // 创建时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 更新时间
|
|
|
+ * updateTime?: string
|
|
|
+ * // 标识是否有领取数
|
|
|
+ * receiveSign?: boolean
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_coupon_page<
|
|
|
+ Config extends Alova2MethodConfig<PageResultCouponInfoAppVo> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 页码
|
|
|
+ */
|
|
|
+ pageNum?: number;
|
|
|
+ /**
|
|
|
+ * 每页记录数
|
|
|
+ */
|
|
|
+ pageSize?: number;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultCouponInfoAppVo, 'app.get_smqjh_system_app_api_coupon_page', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 查询优惠券详情信息
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/coupon/findById
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * couponId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 含税采购价(元)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * // 创建时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 更新时间
|
|
|
+ * updateTime?: string
|
|
|
+ * // 标识是否有领取数
|
|
|
+ * receiveSign?: boolean
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_coupon_findbyid<
|
|
|
+ Config extends Alova2MethodConfig<ResultCouponInfoAppVo> & {
|
|
|
+ params: {
|
|
|
+ couponId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCouponInfoAppVo, 'app.get_smqjh_system_app_api_coupon_findbyid', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 兑换明细
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/coupon/exchangeInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * couponId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 积分金额
|
|
|
+ * pointsMoney?: number
|
|
|
+ * // 总库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_coupon_exchangeinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultCouponExchangeVo> & {
|
|
|
+ params: {
|
|
|
+ couponId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCouponExchangeVo, 'app.get_smqjh_system_app_api_coupon_exchangeinfo', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 使用积分进行兑换
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/coupon/exchangePoints
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * couponId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 抵扣券id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 第三方的津贴/券id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 批次id
|
|
|
+ * batchId?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_coupon_exchangepoints<
|
|
|
+ Config extends Alova2MethodConfig<ResultCouponExchangePointsVo> & {
|
|
|
+ params: {
|
|
|
+ couponId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCouponExchangePointsVo, 'app.get_smqjh_system_app_api_coupon_exchangepoints', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券活动列表查询
|
|
|
+ *
|
|
|
+ * **path:** /app-api/coupon/page
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 含税采购价(元)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * // 创建时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 更新时间
|
|
|
+ * updateTime?: string
|
|
|
+ * // 标识是否有领取数
|
|
|
+ * receiveSign?: boolean
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_coupon_page<
|
|
|
+ Config extends Alova2MethodConfig<PageResultCouponInfoAppVo> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 页码
|
|
|
+ */
|
|
|
+ pageNum?: number;
|
|
|
+ /**
|
|
|
+ * 每页记录数
|
|
|
+ */
|
|
|
+ pageSize?: number;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultCouponInfoAppVo, 'app.get_app_api_coupon_page', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 查询优惠券详情信息
|
|
|
+ *
|
|
|
+ * **path:** /app-api/coupon/findById
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * couponId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 含税采购价(元)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * // 创建时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 更新时间
|
|
|
+ * updateTime?: string
|
|
|
+ * // 标识是否有领取数
|
|
|
+ * receiveSign?: boolean
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_coupon_findbyid<
|
|
|
+ Config extends Alova2MethodConfig<ResultCouponInfoAppVo> & {
|
|
|
+ params: {
|
|
|
+ couponId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCouponInfoAppVo, 'app.get_app_api_coupon_findbyid', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 兑换明细
|
|
|
+ *
|
|
|
+ * **path:** /app-api/coupon/exchangeInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * couponId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 积分金额
|
|
|
+ * pointsMoney?: number
|
|
|
+ * // 总库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_coupon_exchangeinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultCouponExchangeVo> & {
|
|
|
+ params: {
|
|
|
+ couponId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCouponExchangeVo, 'app.get_app_api_coupon_exchangeinfo', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 使用积分进行兑换
|
|
|
+ *
|
|
|
+ * **path:** /app-api/coupon/exchangePoints
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * couponId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 抵扣券id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 第三方的津贴/券id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 批次id
|
|
|
+ * batchId?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_coupon_exchangepoints<
|
|
|
+ Config extends Alova2MethodConfig<ResultCouponExchangePointsVo> & {
|
|
|
+ params: {
|
|
|
+ couponId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCouponExchangePointsVo, 'app.get_app_api_coupon_exchangepoints', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券活动列表查询
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/coupon/findList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 含税采购价(元)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * // 创建时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 更新时间
|
|
|
+ * updateTime?: string
|
|
|
+ * // 标识是否有领取数
|
|
|
+ * receiveSign?: boolean
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_coupon_findlist<Config extends Alova2MethodConfig<ResultListCouponInfoAppVo>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultListCouponInfoAppVo, 'app.get_smqjh_system_app_api_coupon_findlist', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 优惠券活动列表查询
|
|
|
+ *
|
|
|
+ * **path:** /app-api/coupon/findList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // id
|
|
|
+ * id?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 门槛(单位(分)) 满减时的需要达到什么金额
|
|
|
+ * amountMoney?: number
|
|
|
+ * // 面额(单位(分)) 优惠的金额
|
|
|
+ * discountMoney?: number
|
|
|
+ * // 库存
|
|
|
+ * inventoryTotal?: number
|
|
|
+ * // 实际库存
|
|
|
+ * inventoryActual?: number
|
|
|
+ * // 含税采购价(元)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 优惠券开始时间
|
|
|
+ * couponStartTime?: string
|
|
|
+ * // 优惠券结束时间
|
|
|
+ * couponEndTime?: string
|
|
|
+ * // 有效期,领取后多少天内有效(单位天)
|
|
|
+ * expirationDate?: number
|
|
|
+ * // 创建时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 更新时间
|
|
|
+ * updateTime?: string
|
|
|
+ * // 标识是否有领取数
|
|
|
+ * receiveSign?: boolean
|
|
|
+ * // 过期时间
|
|
|
+ * expirationTime?: string
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_app_api_coupon_findlist<Config extends Alova2MethodConfig<ResultListCouponInfoAppVo>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultListCouponInfoAppVo, 'app.get_app_api_coupon_findlist', Config>;
|
|
|
+ };
|
|
|
+ general: {
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 手机号短信验证码登录
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-auth/oauth2/token
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * grant_type?: string
|
|
|
+ * mobile?: string
|
|
|
+ * code?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * code: string
|
|
|
+ * data: {
|
|
|
+ * access_token: string
|
|
|
+ * refresh_token: string
|
|
|
+ * code: string
|
|
|
+ * mobile: string
|
|
|
+ * token_type: string
|
|
|
+ * expires_in: number
|
|
|
+ * }
|
|
|
+ * msg: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_auth_oauth2_token<
|
|
|
+ Config extends Alova2MethodConfig<{
|
|
|
+ code: string;
|
|
|
+ data: {
|
|
|
+ access_token: string;
|
|
|
+ refresh_token: string;
|
|
|
+ code: string;
|
|
|
+ mobile: string;
|
|
|
+ token_type: string;
|
|
|
+ expires_in: number;
|
|
|
+ };
|
|
|
+ msg: string;
|
|
|
+ }> & {
|
|
|
+ params: {
|
|
|
+ grant_type?: string;
|
|
|
+ mobile?: string;
|
|
|
+ code?: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ {
|
|
|
+ code: string;
|
|
|
+ data: {
|
|
|
+ access_token: string;
|
|
|
+ refresh_token: string;
|
|
|
+ code: string;
|
|
|
+ mobile: string;
|
|
|
+ token_type: string;
|
|
|
+ expires_in: number;
|
|
|
+ };
|
|
|
+ msg: string;
|
|
|
+ },
|
|
|
+ 'general.post_smqjh_auth_oauth2_token',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 发送手机短信验证码
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-auth/api/v1/auth/sms_code
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: object
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_auth_api_v1_auth_sms_code<
|
|
|
+ Config extends Alova2MethodConfig<Result> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 手机号
|
|
|
+ */
|
|
|
+ mobile: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<Result, 'general.post_smqjh_auth_api_v1_auth_sms_code', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 获取验证码
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/auth/captcha
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 验证码唯一标识(用于从Redis获取验证码Code)
|
|
|
+ * captchaId?: string
|
|
|
+ * // 验证码图片Base64字符串
|
|
|
+ * captchaBase64?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_api_v1_auth_captcha<Config extends Alova2MethodConfig<ResultCaptchaResult>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultCaptchaResult, 'general.get_api_v1_auth_captcha', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 发送手机短信验证码
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/auth/sms_code
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: object
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_auth_sms_code<
|
|
|
+ Config extends Alova2MethodConfig<Result> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 手机号
|
|
|
+ */
|
|
|
+ mobile: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<Result, 'general.post_api_v1_auth_sms_code', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 获取登录会员信息
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-system/app-api/v1/members/me
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 会员ID
|
|
|
+ * id?: number
|
|
|
+ * // 会员昵称
|
|
|
+ * nickName?: string
|
|
|
+ * // 会员头像地址
|
|
|
+ * avatarUrl?: string
|
|
|
+ * // 会员手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 会员余额(单位:分)
|
|
|
+ * balance?: number
|
|
|
+ * // 所属企业ID
|
|
|
+ * channelId?: number
|
|
|
+ * // 所属企业名称
|
|
|
+ * channelName?: string
|
|
|
+ * // 配送费
|
|
|
+ * freightFee?: number
|
|
|
+ * // 所属企业顶级ID
|
|
|
+ * channelTopId?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_system_app_api_v1_members_me<Config extends Alova2MethodConfig<ResultMemberVO>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultMemberVO, 'general.get_smqjh_system_app_api_v1_members_me', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A1-查询Token
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryToken
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // token,有效期内可复用
|
|
|
+ * accessToken?: string
|
|
|
+ * // 有效期,单位秒
|
|
|
+ * availableTime?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_querytoken<Config extends Alova2MethodConfig<ResultQueryTokenResponse>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultQueryTokenResponse, 'general.post_smqjh_pms_api_v1_refueling_querytoken', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A2-查询门店价格
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryStorePrice
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id列表,最多10个
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storeIds: string[]
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 用户标识
|
|
|
+ * outUserId: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 油站禁止使用优惠券,0:禁止使用
|
|
|
+ * allowanceClientScheme?: number
|
|
|
+ * // 油号信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemInfoList?: Array<{
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 油品id
|
|
|
+ * itemId?: string
|
|
|
+ * // 发改委价格、国标价,单位分
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 枪号列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * gunNos?: string[]
|
|
|
+ * // 优惠活动标签详情列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * tagList?: Array<{
|
|
|
+ * // 标签类型,目前默认为0
|
|
|
+ * type?: number
|
|
|
+ * // 标签位置,目前默认为0
|
|
|
+ * location?: number
|
|
|
+ * // 图形类型,目前默认为0
|
|
|
+ * iconType?: number
|
|
|
+ * // 标签名称
|
|
|
+ * title?: string
|
|
|
+ * }>
|
|
|
+ * // 小桔价、折扣价、优惠价,小程序显示的价格
|
|
|
+ * vipPriceShow?: number
|
|
|
+ * // 发改委价格、国标价,小程序显示的价格
|
|
|
+ * cityPriceShow?: number
|
|
|
+ * // 门店价、油枪价、油机价,小程序显示的价格
|
|
|
+ * storePriceShow?: number
|
|
|
+ * }>
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_querystoreprice<
|
|
|
+ Config extends Alova2MethodConfig<ResultListQueryStorePriceResponse> & {
|
|
|
+ data: QueryStorePriceRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultListQueryStorePriceResponse,
|
|
|
+ 'general.post_smqjh_pms_api_v1_refueling_querystoreprice',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A3-查询站点详情
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryStoreDetail
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 纬度
|
|
|
+ * lat: number
|
|
|
+ * // 经度
|
|
|
+ * lon: number
|
|
|
+ * // 外部用户id
|
|
|
+ * outUserId?: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 门店logo
|
|
|
+ * storeLogo?: string
|
|
|
+ * // 门店图片列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storePicList?: string[]
|
|
|
+ * // 城市
|
|
|
+ * cityName?: string
|
|
|
+ * // 地址
|
|
|
+ * address?: string
|
|
|
+ * // 经度
|
|
|
+ * lon?: number
|
|
|
+ * // 纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 用户是否有未支付订单,0-否,1-是
|
|
|
+ * orderInPay?: number
|
|
|
+ * // 油号信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemInfoList?: Array<{
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 油品id
|
|
|
+ * itemId?: string
|
|
|
+ * // 发改委价格、国标价,单位分
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 枪号列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * gunNos?: string[]
|
|
|
+ * // 优惠活动标签详情列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * tagList?: Array<{
|
|
|
+ * // 标签类型,目前默认为0
|
|
|
+ * type?: number
|
|
|
+ * // 标签位置,目前默认为0
|
|
|
+ * location?: number
|
|
|
+ * // 图形类型,目前默认为0
|
|
|
+ * iconType?: number
|
|
|
+ * // 标签名称
|
|
|
+ * title?: string
|
|
|
+ * }>
|
|
|
+ * // 小桔价、折扣价、优惠价,小程序显示的价格
|
|
|
+ * vipPriceShow?: number
|
|
|
+ * // 发改委价格、国标价,小程序显示的价格
|
|
|
+ * cityPriceShow?: number
|
|
|
+ * // 门店价、油枪价、油机价,小程序显示的价格
|
|
|
+ * storePriceShow?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_querystoredetail<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryStoreDetailResponse> & {
|
|
|
+ data: QueryStoreDetailRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultQueryStoreDetailResponse,
|
|
|
+ 'general.post_smqjh_pms_api_v1_refueling_querystoredetail',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A4-优惠价格计算
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryCalPrice
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 用户设备号,标识用户终端设备,可为空
|
|
|
+ * deviceId?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * // 外部用户id,唯一标识用户,接入方需保证用户粒度唯一性
|
|
|
+ * outUserId: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 油品名称,如:92#
|
|
|
+ * itemName: string
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * amount: number
|
|
|
+ * // 优惠营销信息,非必填,目前只允许单次使用一张优惠券
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 实付金额,单位分
|
|
|
+ * realPrice?: number
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * totalPrice?: number
|
|
|
+ * // 服务费,单位分
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额,单位分
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 加油容量,单位毫升
|
|
|
+ * litre?: number
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_querycalprice<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryCalPriceResponse> & {
|
|
|
+ data: QueryCalPriceRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryCalPriceResponse, 'general.post_smqjh_pms_api_v1_refueling_querycalprice', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A5-批量优惠价格计算
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryCalPrices
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 用户设备号,标识用户终端设备,可为空
|
|
|
+ * deviceId?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * // 外部用户id,唯一标识用户,接入方需保证用户粒度唯一性
|
|
|
+ * outUserId: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 油品、容量信息
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemList: Array<{
|
|
|
+ * // 油品名称,如:92#
|
|
|
+ * itemName: string
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * amount: number
|
|
|
+ * }>
|
|
|
+ * // 优惠营销信息,非必填,目前只允许单次使用一张优惠券
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 价格信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemList?: Array<{
|
|
|
+ * // 实付金额,单位分
|
|
|
+ * realPrice?: number
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * totalPrice?: number
|
|
|
+ * // 服务费,单位分
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额,单位分
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 加油容量,单位毫升
|
|
|
+ * litre?: number
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_querycalprices<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryCalPricesResponse> & {
|
|
|
+ data: QueryCalPricesRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryCalPricesResponse, 'general.post_smqjh_pms_api_v1_refueling_querycalprices', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A6-创建订单
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryNewOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 外部用户id,唯一标识用户
|
|
|
+ * outUserId: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 模糊后手机号,例如135****9872
|
|
|
+ * vagueMobile?: string
|
|
|
+ * // 外部订单号
|
|
|
+ * outOrderId: string
|
|
|
+ * // 用户实时纬度
|
|
|
+ * lat: number
|
|
|
+ * // 用户实时经度
|
|
|
+ * lon: number
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 油号id
|
|
|
+ * itemId: number
|
|
|
+ * // 枪号
|
|
|
+ * gunNo: string
|
|
|
+ * // 订单总金额,单位分,价格查询接口返回的totalPrice
|
|
|
+ * originalAmount: number
|
|
|
+ * // 订单支付金额,单位分,价格查询接口返回的realPrice
|
|
|
+ * paymentAmount: number
|
|
|
+ * // 服务费,单位分,价格查询接口返回的serviceFee
|
|
|
+ * serviceFee: number
|
|
|
+ * // 加油升数,单位毫升
|
|
|
+ * litre: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice: number
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * // 扩展参数,选填,接入方自定义,订单回调及查询会原样返回
|
|
|
+ * openExtra?: string
|
|
|
+ * // 优惠营销信息,非必填
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 待支付单号,客户端页面又称tradeId
|
|
|
+ * tradeNo?: string
|
|
|
+ * // 小桔订单号,客户端页面又称orderId
|
|
|
+ * orderId?: string
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_queryneworder<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryNewOrderResponse> & {
|
|
|
+ data: QueryNewOrderRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryNewOrderResponse, 'general.post_smqjh_pms_api_v1_refueling_queryneworder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A7-取消订单
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/cancelOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 外部订单号
|
|
|
+ * outOrderId: string
|
|
|
+ * // 小桔订单号
|
|
|
+ * orderId: string
|
|
|
+ * // 外部用户号
|
|
|
+ * outUserId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 取消订单结果:取消订单成功:null;取消订单失败:3001(订单已支付)、3002(订单已支付)、
|
|
|
+ * opStatus?: number
|
|
|
+ * // 状态
|
|
|
+ * success?: boolean
|
|
|
+ * // 消息
|
|
|
+ * message?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_cancelorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultCancelOrderResponse> & {
|
|
|
+ data: CancelOrderRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCancelOrderResponse, 'general.post_smqjh_pms_api_v1_refueling_cancelorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A8-获取优惠券
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/getPromotion
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 外部用户id
|
|
|
+ * outUserId?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 外部交易号
|
|
|
+ * tradeNo?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 津贴类型 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 优惠描述
|
|
|
+ * promotionDesc?: string
|
|
|
+ * // 订单金额
|
|
|
+ * amount?: number
|
|
|
+ * // 优惠金额 单位:分
|
|
|
+ * discount?: number
|
|
|
+ * // 优惠券信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 津贴/券id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 批次id
|
|
|
+ * batchId?: string
|
|
|
+ * // 状态 1-已使用 2-可使用 5-已过期
|
|
|
+ * status?: number
|
|
|
+ * }>
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_getpromotion<
|
|
|
+ Config extends Alova2MethodConfig<ResultListGetPromotionResponse> & {
|
|
|
+ data: GetPromotionRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultListGetPromotionResponse, 'general.post_smqjh_pms_api_v1_refueling_getpromotion', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A9-查询最优可用券
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryOrderPromotionList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 外部用户id,唯一标识用户
|
|
|
+ * outUserId?: string
|
|
|
+ * // 门店id,用于判断是否满足门店使用限制条件
|
|
|
+ * storeId?: string
|
|
|
+ * // 订单金额,用于判断是否满足满减的条件,单位:分
|
|
|
+ * orderAmount?: number
|
|
|
+ * // 津贴类型 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 优惠描述
|
|
|
+ * promotionDesc?: string
|
|
|
+ * // 订单金额,单位:分
|
|
|
+ * amount?: number
|
|
|
+ * // 优惠金额,单位:分
|
|
|
+ * discount?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 可用时间-开始,秒级时间戳
|
|
|
+ * startTimestamp?: string
|
|
|
+ * // 可用时间-结束,秒级时间戳
|
|
|
+ * endTimestamp?: string
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_queryorderpromotionlist<
|
|
|
+ Config extends Alova2MethodConfig<ResultListQueryOrderPromotionListResponse> & {
|
|
|
+ data: QueryOrderPromotionListRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultListQueryOrderPromotionListResponse,
|
|
|
+ 'general.post_smqjh_pms_api_v1_refueling_queryorderpromotionlist',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A10-查询用户所有券列表
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/queryUserPromotionList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 外部用户id,唯一标识用户
|
|
|
+ * outUserId?: string
|
|
|
+ * // 津贴类型 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * // 津贴状态 3.已使用、4.已过期、5.未使用
|
|
|
+ * status?: number
|
|
|
+ * // 页码,从1开始
|
|
|
+ * pageIndex?: number
|
|
|
+ * // 分页大小
|
|
|
+ * pageSize?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 页码
|
|
|
+ * pageIndex?: number
|
|
|
+ * // 分页大小
|
|
|
+ * pageSize?: number
|
|
|
+ * // 总记录数
|
|
|
+ * totalSize?: number
|
|
|
+ * // 总页数
|
|
|
+ * totalPage?: number
|
|
|
+ * // 优惠券信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 优惠描述
|
|
|
+ * promotionDesc?: string
|
|
|
+ * // 订单金额,单位:分
|
|
|
+ * amount?: number
|
|
|
+ * // 优惠金额,单位:分
|
|
|
+ * discount?: number
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 可用时间-开始,秒级时间戳
|
|
|
+ * startTimestamp?: string
|
|
|
+ * // 可用时间-结束,秒级时间戳
|
|
|
+ * endTimestamp?: string
|
|
|
+ * // 状态 1.可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_queryuserpromotionlist<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryUserPromotionListResponse> & {
|
|
|
+ data: QueryUserPromotionListRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultQueryUserPromotionListResponse,
|
|
|
+ 'general.post_smqjh_pms_api_v1_refueling_queryuserpromotionlist',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 生成二维码
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/generateQrCode
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * key?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: string
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_generateqrcode<
|
|
|
+ Config extends Alova2MethodConfig<ResultString> & {
|
|
|
+ data: MapString;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultString, 'general.post_smqjh_pms_api_v1_refueling_generateqrcode', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] B1-接收站点信息
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/receivingGasStation
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 应用标识
|
|
|
+ * appKey?: string
|
|
|
+ * // 加密后的业务数据(AES-128-CBC加密)
|
|
|
+ * data?: string
|
|
|
+ * // 请求唯一标识
|
|
|
+ * requestId?: string
|
|
|
+ * // 签名(HMac-MD5,大写)
|
|
|
+ * sig?: string
|
|
|
+ * // 时间戳(格式:yyyyMMddHHmmss)
|
|
|
+ * timeStamp?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 接收是否成功
|
|
|
+ * success?: boolean
|
|
|
+ * // 信息提示
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_receivinggasstation<
|
|
|
+ Config extends Alova2MethodConfig<ResultReceiveGasStationResponse> & {
|
|
|
+ data: XiaojuEncryptedRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultReceiveGasStationResponse,
|
|
|
+ 'general.post_smqjh_pms_api_v1_refueling_receivinggasstation',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] B2-接收订单信息
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/api/v1/refueling/notifyOrderInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 应用标识
|
|
|
+ * appKey?: string
|
|
|
+ * // 加密后的业务数据(AES-128-CBC加密)
|
|
|
+ * data?: string
|
|
|
+ * // 请求唯一标识
|
|
|
+ * requestId?: string
|
|
|
+ * // 签名(HMac-MD5,大写)
|
|
|
+ * sig?: string
|
|
|
+ * // 时间戳(格式:yyyyMMddHHmmss)
|
|
|
+ * timeStamp?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 接收是否成功:0-不成功,1-成功
|
|
|
+ * state?: number
|
|
|
+ * // 信息提示
|
|
|
+ * message?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_api_v1_refueling_notifyorderinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultNotifyOrderInfoResponse> & {
|
|
|
+ data: XiaojuEncryptedRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultNotifyOrderInfoResponse, 'general.post_smqjh_pms_api_v1_refueling_notifyorderinfo', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A1-查询Token
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryToken
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // token,有效期内可复用
|
|
|
+ * accessToken?: string
|
|
|
+ * // 有效期,单位秒
|
|
|
+ * availableTime?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_querytoken<Config extends Alova2MethodConfig<ResultQueryTokenResponse>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultQueryTokenResponse, 'general.post_api_v1_refueling_querytoken', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A2-查询门店价格
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryStorePrice
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id列表,最多10个
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storeIds: string[]
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 用户标识
|
|
|
+ * outUserId: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 油站禁止使用优惠券,0:禁止使用
|
|
|
+ * allowanceClientScheme?: number
|
|
|
+ * // 油号信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemInfoList?: Array<{
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 油品id
|
|
|
+ * itemId?: string
|
|
|
+ * // 发改委价格、国标价,单位分
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 枪号列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * gunNos?: string[]
|
|
|
+ * // 优惠活动标签详情列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * tagList?: Array<{
|
|
|
+ * // 标签类型,目前默认为0
|
|
|
+ * type?: number
|
|
|
+ * // 标签位置,目前默认为0
|
|
|
+ * location?: number
|
|
|
+ * // 图形类型,目前默认为0
|
|
|
+ * iconType?: number
|
|
|
+ * // 标签名称
|
|
|
+ * title?: string
|
|
|
+ * }>
|
|
|
+ * // 小桔价、折扣价、优惠价,小程序显示的价格
|
|
|
+ * vipPriceShow?: number
|
|
|
+ * // 发改委价格、国标价,小程序显示的价格
|
|
|
+ * cityPriceShow?: number
|
|
|
+ * // 门店价、油枪价、油机价,小程序显示的价格
|
|
|
+ * storePriceShow?: number
|
|
|
+ * }>
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_querystoreprice<
|
|
|
+ Config extends Alova2MethodConfig<ResultListQueryStorePriceResponse> & {
|
|
|
+ data: QueryStorePriceRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultListQueryStorePriceResponse, 'general.post_api_v1_refueling_querystoreprice', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A3-查询站点详情
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryStoreDetail
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 纬度
|
|
|
+ * lat: number
|
|
|
+ * // 经度
|
|
|
+ * lon: number
|
|
|
+ * // 外部用户id
|
|
|
+ * outUserId?: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 门店logo
|
|
|
+ * storeLogo?: string
|
|
|
+ * // 门店图片列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storePicList?: string[]
|
|
|
+ * // 城市
|
|
|
+ * cityName?: string
|
|
|
+ * // 地址
|
|
|
+ * address?: string
|
|
|
+ * // 经度
|
|
|
+ * lon?: number
|
|
|
+ * // 纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 用户是否有未支付订单,0-否,1-是
|
|
|
+ * orderInPay?: number
|
|
|
+ * // 油号信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemInfoList?: Array<{
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 油品id
|
|
|
+ * itemId?: string
|
|
|
+ * // 发改委价格、国标价,单位分
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 枪号列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * gunNos?: string[]
|
|
|
+ * // 优惠活动标签详情列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * tagList?: Array<{
|
|
|
+ * // 标签类型,目前默认为0
|
|
|
+ * type?: number
|
|
|
+ * // 标签位置,目前默认为0
|
|
|
+ * location?: number
|
|
|
+ * // 图形类型,目前默认为0
|
|
|
+ * iconType?: number
|
|
|
+ * // 标签名称
|
|
|
+ * title?: string
|
|
|
+ * }>
|
|
|
+ * // 小桔价、折扣价、优惠价,小程序显示的价格
|
|
|
+ * vipPriceShow?: number
|
|
|
+ * // 发改委价格、国标价,小程序显示的价格
|
|
|
+ * cityPriceShow?: number
|
|
|
+ * // 门店价、油枪价、油机价,小程序显示的价格
|
|
|
+ * storePriceShow?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_querystoredetail<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryStoreDetailResponse> & {
|
|
|
+ data: QueryStoreDetailRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryStoreDetailResponse, 'general.post_api_v1_refueling_querystoredetail', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A4-优惠价格计算
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryCalPrice
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 用户设备号,标识用户终端设备,可为空
|
|
|
+ * deviceId?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * // 外部用户id,唯一标识用户,接入方需保证用户粒度唯一性
|
|
|
+ * outUserId: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 油品名称,如:92#
|
|
|
+ * itemName: string
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * amount: number
|
|
|
+ * // 优惠营销信息,非必填,目前只允许单次使用一张优惠券
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 实付金额,单位分
|
|
|
+ * realPrice?: number
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * totalPrice?: number
|
|
|
+ * // 服务费,单位分
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额,单位分
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 加油容量,单位毫升
|
|
|
+ * litre?: number
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_querycalprice<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryCalPriceResponse> & {
|
|
|
+ data: QueryCalPriceRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryCalPriceResponse, 'general.post_api_v1_refueling_querycalprice', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A5-批量优惠价格计算
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryCalPrices
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 用户设备号,标识用户终端设备,可为空
|
|
|
+ * deviceId?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * // 外部用户id,唯一标识用户,接入方需保证用户粒度唯一性
|
|
|
+ * outUserId: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 油品、容量信息
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemList: Array<{
|
|
|
+ * // 油品名称,如:92#
|
|
|
+ * itemName: string
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * amount: number
|
|
|
+ * }>
|
|
|
+ * // 优惠营销信息,非必填,目前只允许单次使用一张优惠券
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 价格信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemList?: Array<{
|
|
|
+ * // 实付金额,单位分
|
|
|
+ * realPrice?: number
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * totalPrice?: number
|
|
|
+ * // 服务费,单位分
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额,单位分
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 加油容量,单位毫升
|
|
|
+ * litre?: number
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_querycalprices<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryCalPricesResponse> & {
|
|
|
+ data: QueryCalPricesRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryCalPricesResponse, 'general.post_api_v1_refueling_querycalprices', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A6-创建订单
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryNewOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 外部用户id,唯一标识用户
|
|
|
+ * outUserId: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 模糊后手机号,例如135****9872
|
|
|
+ * vagueMobile?: string
|
|
|
+ * // 外部订单号
|
|
|
+ * outOrderId: string
|
|
|
+ * // 用户实时纬度
|
|
|
+ * lat: number
|
|
|
+ * // 用户实时经度
|
|
|
+ * lon: number
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 油号id
|
|
|
+ * itemId: number
|
|
|
+ * // 枪号
|
|
|
+ * gunNo: string
|
|
|
+ * // 订单总金额,单位分,价格查询接口返回的totalPrice
|
|
|
+ * originalAmount: number
|
|
|
+ * // 订单支付金额,单位分,价格查询接口返回的realPrice
|
|
|
+ * paymentAmount: number
|
|
|
+ * // 服务费,单位分,价格查询接口返回的serviceFee
|
|
|
+ * serviceFee: number
|
|
|
+ * // 加油升数,单位毫升
|
|
|
+ * litre: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice: number
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * // 扩展参数,选填,接入方自定义,订单回调及查询会原样返回
|
|
|
+ * openExtra?: string
|
|
|
+ * // 优惠营销信息,非必填
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 待支付单号,客户端页面又称tradeId
|
|
|
+ * tradeNo?: string
|
|
|
+ * // 小桔订单号,客户端页面又称orderId
|
|
|
+ * orderId?: string
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_queryneworder<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryNewOrderResponse> & {
|
|
|
+ data: QueryNewOrderRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryNewOrderResponse, 'general.post_api_v1_refueling_queryneworder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A7-取消订单
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/cancelOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 外部订单号
|
|
|
+ * outOrderId: string
|
|
|
+ * // 小桔订单号
|
|
|
+ * orderId: string
|
|
|
+ * // 外部用户号
|
|
|
+ * outUserId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 取消订单结果:取消订单成功:null;取消订单失败:3001(订单已支付)、3002(订单已支付)、
|
|
|
+ * opStatus?: number
|
|
|
+ * // 状态
|
|
|
+ * success?: boolean
|
|
|
+ * // 消息
|
|
|
+ * message?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_cancelorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultCancelOrderResponse> & {
|
|
|
+ data: CancelOrderRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultCancelOrderResponse, 'general.post_api_v1_refueling_cancelorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A8-获取优惠券
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/getPromotion
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 外部用户id
|
|
|
+ * outUserId?: string
|
|
|
+ * // 活动id
|
|
|
+ * activityId?: string
|
|
|
+ * // 外部交易号
|
|
|
+ * tradeNo?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 津贴类型 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 优惠描述
|
|
|
+ * promotionDesc?: string
|
|
|
+ * // 订单金额
|
|
|
+ * amount?: number
|
|
|
+ * // 优惠金额 单位:分
|
|
|
+ * discount?: number
|
|
|
+ * // 优惠券信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 津贴/券id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 批次id
|
|
|
+ * batchId?: string
|
|
|
+ * // 状态 1-已使用 2-可使用 5-已过期
|
|
|
+ * status?: number
|
|
|
+ * }>
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_getpromotion<
|
|
|
+ Config extends Alova2MethodConfig<ResultListGetPromotionResponse> & {
|
|
|
+ data: GetPromotionRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultListGetPromotionResponse, 'general.post_api_v1_refueling_getpromotion', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A9-查询最优可用券
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryOrderPromotionList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 外部用户id,唯一标识用户
|
|
|
+ * outUserId?: string
|
|
|
+ * // 门店id,用于判断是否满足门店使用限制条件
|
|
|
+ * storeId?: string
|
|
|
+ * // 订单金额,用于判断是否满足满减的条件,单位:分
|
|
|
+ * orderAmount?: number
|
|
|
+ * // 津贴类型 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 券Id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 优惠描述
|
|
|
+ * promotionDesc?: string
|
|
|
+ * // 订单金额,单位:分
|
|
|
+ * amount?: number
|
|
|
+ * // 优惠金额,单位:分
|
|
|
+ * discount?: number
|
|
|
+ * // 优惠类型 1-满减,2-立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 状态 1-可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * // 限制使用优惠券,true:被限制
|
|
|
+ * restrict?: boolean
|
|
|
+ * // 可用时间-开始,秒级时间戳
|
|
|
+ * startTimestamp?: string
|
|
|
+ * // 可用时间-结束,秒级时间戳
|
|
|
+ * endTimestamp?: string
|
|
|
+ * }>
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_queryorderpromotionlist<
|
|
|
+ Config extends Alova2MethodConfig<ResultListQueryOrderPromotionListResponse> & {
|
|
|
+ data: QueryOrderPromotionListRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultListQueryOrderPromotionListResponse,
|
|
|
+ 'general.post_api_v1_refueling_queryorderpromotionlist',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A10-查询用户所有券列表
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/queryUserPromotionList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 外部用户id,唯一标识用户
|
|
|
+ * outUserId?: string
|
|
|
+ * // 津贴类型 2.枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * // 津贴状态 3.已使用、4.已过期、5.未使用
|
|
|
+ * status?: number
|
|
|
+ * // 页码,从1开始
|
|
|
+ * pageIndex?: number
|
|
|
+ * // 分页大小
|
|
|
+ * pageSize?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 页码
|
|
|
+ * pageIndex?: number
|
|
|
+ * // 分页大小
|
|
|
+ * pageSize?: number
|
|
|
+ * // 总记录数
|
|
|
+ * totalSize?: number
|
|
|
+ * // 总页数
|
|
|
+ * totalPage?: number
|
|
|
+ * // 优惠券信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * data?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 优惠描述
|
|
|
+ * promotionDesc?: string
|
|
|
+ * // 订单金额,单位:分
|
|
|
+ * amount?: number
|
|
|
+ * // 优惠金额,单位:分
|
|
|
+ * discount?: number
|
|
|
+ * // 优惠类型 1.满减、2.立减
|
|
|
+ * promotionType?: number
|
|
|
+ * // 可用时间-开始,秒级时间戳
|
|
|
+ * startTimestamp?: string
|
|
|
+ * // 可用时间-结束,秒级时间戳
|
|
|
+ * endTimestamp?: string
|
|
|
+ * // 状态 1.可用;其他不可用
|
|
|
+ * status?: number
|
|
|
+ * // 状态描述
|
|
|
+ * statusDesc?: string
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_queryuserpromotionlist<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryUserPromotionListResponse> & {
|
|
|
+ data: QueryUserPromotionListRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultQueryUserPromotionListResponse,
|
|
|
+ 'general.post_api_v1_refueling_queryuserpromotionlist',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 生成二维码
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/generateQrCode
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * key?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: string
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_generateqrcode<
|
|
|
+ Config extends Alova2MethodConfig<ResultString> & {
|
|
|
+ data: MapString;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultString, 'general.post_api_v1_refueling_generateqrcode', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] B1-接收站点信息
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/receivingGasStation
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 应用标识
|
|
|
+ * appKey?: string
|
|
|
+ * // 加密后的业务数据(AES-128-CBC加密)
|
|
|
+ * data?: string
|
|
|
+ * // 请求唯一标识
|
|
|
+ * requestId?: string
|
|
|
+ * // 签名(HMac-MD5,大写)
|
|
|
+ * sig?: string
|
|
|
+ * // 时间戳(格式:yyyyMMddHHmmss)
|
|
|
+ * timeStamp?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 接收是否成功
|
|
|
+ * success?: boolean
|
|
|
+ * // 信息提示
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_receivinggasstation<
|
|
|
+ Config extends Alova2MethodConfig<ResultReceiveGasStationResponse> & {
|
|
|
+ data: XiaojuEncryptedRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultReceiveGasStationResponse, 'general.post_api_v1_refueling_receivinggasstation', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] B2-接收订单信息
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/notifyOrderInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 应用标识
|
|
|
+ * appKey?: string
|
|
|
+ * // 加密后的业务数据(AES-128-CBC加密)
|
|
|
+ * data?: string
|
|
|
+ * // 请求唯一标识
|
|
|
+ * requestId?: string
|
|
|
+ * // 签名(HMac-MD5,大写)
|
|
|
+ * sig?: string
|
|
|
+ * // 时间戳(格式:yyyyMMddHHmmss)
|
|
|
+ * timeStamp?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 接收是否成功:0-不成功,1-成功
|
|
|
+ * state?: number
|
|
|
+ * // 信息提示
|
|
|
+ * message?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_notifyorderinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultNotifyOrderInfoResponse> & {
|
|
|
+ data: XiaojuEncryptedRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultNotifyOrderInfoResponse, 'general.post_api_v1_refueling_notifyorderinfo', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 保存加油商品
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/refueling/savePushProductOil
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * id?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: object
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_refueling_savepushproductoil<
|
|
|
+ Config extends Alova2MethodConfig<Result> & {
|
|
|
+ params: {
|
|
|
+ id?: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<Result, 'general.post_api_v1_refueling_savepushproductoil', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 保存加油商品
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/app-api/v1/product_oil/savePushProductOil
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * id?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: object
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_app_api_v1_product_oil_savepushproductoil<
|
|
|
+ Config extends Alova2MethodConfig<Result> & {
|
|
|
+ params: {
|
|
|
+ id?: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<Result, 'general.post_smqjh_pms_app_api_v1_product_oil_savepushproductoil', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A3-查询站点详情
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/app-api/v1/product_oil/queryStoreDetail
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 纬度
|
|
|
+ * lat: number
|
|
|
+ * // 经度
|
|
|
+ * lon: number
|
|
|
+ * // 外部用户id
|
|
|
+ * outUserId?: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 门店logo
|
|
|
+ * storeLogo?: string
|
|
|
+ * // 门店图片列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storePicList?: string[]
|
|
|
+ * // 城市
|
|
|
+ * cityName?: string
|
|
|
+ * // 地址
|
|
|
+ * address?: string
|
|
|
+ * // 经度
|
|
|
+ * lon?: number
|
|
|
+ * // 纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 用户是否有未支付订单,0-否,1-是
|
|
|
+ * orderInPay?: number
|
|
|
+ * // 油号信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemInfoList?: Array<{
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 油品id
|
|
|
+ * itemId?: string
|
|
|
+ * // 发改委价格、国标价,单位分
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 枪号列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * gunNos?: string[]
|
|
|
+ * // 优惠活动标签详情列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * tagList?: Array<{
|
|
|
+ * // 标签类型,目前默认为0
|
|
|
+ * type?: number
|
|
|
+ * // 标签位置,目前默认为0
|
|
|
+ * location?: number
|
|
|
+ * // 图形类型,目前默认为0
|
|
|
+ * iconType?: number
|
|
|
+ * // 标签名称
|
|
|
+ * title?: string
|
|
|
+ * }>
|
|
|
+ * // 小桔价、折扣价、优惠价,小程序显示的价格
|
|
|
+ * vipPriceShow?: number
|
|
|
+ * // 发改委价格、国标价,小程序显示的价格
|
|
|
+ * cityPriceShow?: number
|
|
|
+ * // 门店价、油枪价、油机价,小程序显示的价格
|
|
|
+ * storePriceShow?: number
|
|
|
+ * }>
|
|
|
+ * // 前端距离显示千米
|
|
|
+ * distanceShow?: number
|
|
|
+ * // 油站禁止使用优惠券
|
|
|
+ * allowanceClientScheme?: boolean
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_app_api_v1_product_oil_querystoredetail<
|
|
|
+ Config extends Alova2MethodConfig<ResultGasStationDetailVO> & {
|
|
|
+ data: QueryStoreDetailRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultGasStationDetailVO,
|
|
|
+ 'general.post_smqjh_pms_app_api_v1_product_oil_querystoredetail',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 分页查询渠道商品
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/app-api/v1/product_oil/page
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * // 纬度(GCJ-02火星坐标系)
|
|
|
+ * // 用户当前纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 经度(GCJ-02火星坐标系)
|
|
|
+ * // 用户当前经度
|
|
|
+ * lon?: number
|
|
|
+ * // 排序方式:0:价格排序,1:距离优先
|
|
|
+ * sort?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 地址
|
|
|
+ * address?: string
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 距离
|
|
|
+ * distance?: number
|
|
|
+ * // 前端距离显示千米
|
|
|
+ * distanceShow?: number
|
|
|
+ * // 纬度(GCJ-02火星坐标系)
|
|
|
+ * lat?: number
|
|
|
+ * // 经度(GCJ-02火星坐标系)
|
|
|
+ * lon?: number
|
|
|
+ * // 差值
|
|
|
+ * maxPriceDiff?: number
|
|
|
+ * // 油站禁止使用优惠券
|
|
|
+ * allowanceClientScheme?: boolean
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_app_api_v1_product_oil_page<
|
|
|
+ Config extends Alova2MethodConfig<PageResultGasStationVO> & {
|
|
|
+ data: GasStationQuery;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultGasStationVO, 'general.post_smqjh_pms_app_api_v1_product_oil_page', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 电子围栏接口
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/app-api/v1/product_oil/queryDistanceFence
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 用户当前纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 用户当前经度
|
|
|
+ * lon?: number
|
|
|
+ * // 下单门店id
|
|
|
+ * storeId?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 是否有更近的油站标识,true弹框提示,false继续下一步
|
|
|
+ * isClosest?: boolean
|
|
|
+ * // 有更近标识时次集合有两条数据,第一条最近油站,当前下单油站
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storeVOS?: Array<{
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 距离
|
|
|
+ * distance?: number
|
|
|
+ * // 前端距离显示千米
|
|
|
+ * distanceShow?: number
|
|
|
+ * // 纬度(GCJ-02火星坐标系)
|
|
|
+ * lat?: number
|
|
|
+ * // 经度(GCJ-02火星坐标系)
|
|
|
+ * lon?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_app_api_v1_product_oil_querydistancefence<
|
|
|
+ Config extends Alova2MethodConfig<ResultDistanceFenceVO> & {
|
|
|
+ data: DistanceFenceQuery;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<
|
|
|
+ ResultDistanceFenceVO,
|
|
|
+ 'general.post_smqjh_pms_app_api_v1_product_oil_querydistancefence',
|
|
|
+ Config
|
|
|
+ >;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 保存加油商品
|
|
|
+ *
|
|
|
+ * **path:** /app-api/v1/product_oil/savePushProductOil
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * id?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: object
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_app_api_v1_product_oil_savepushproductoil<
|
|
|
+ Config extends Alova2MethodConfig<Result> & {
|
|
|
+ params: {
|
|
|
+ id?: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<Result, 'general.post_app_api_v1_product_oil_savepushproductoil', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 分页查询渠道商品
|
|
|
+ *
|
|
|
+ * **path:** /app-api/v1/product_oil/page
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * // 纬度(GCJ-02火星坐标系)
|
|
|
+ * // 用户当前纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 经度(GCJ-02火星坐标系)
|
|
|
+ * // 用户当前经度
|
|
|
+ * lon?: number
|
|
|
+ * // 排序方式:0:价格排序,1:距离优先
|
|
|
+ * sort?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 地址
|
|
|
+ * address?: string
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 距离
|
|
|
+ * distance?: number
|
|
|
+ * // 前端距离显示千米
|
|
|
+ * distanceShow?: number
|
|
|
+ * // 纬度(GCJ-02火星坐标系)
|
|
|
+ * lat?: number
|
|
|
+ * // 经度(GCJ-02火星坐标系)
|
|
|
+ * lon?: number
|
|
|
+ * // 差值
|
|
|
+ * maxPriceDiff?: number
|
|
|
+ * // 油站禁止使用优惠券
|
|
|
+ * allowanceClientScheme?: boolean
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_app_api_v1_product_oil_page<
|
|
|
+ Config extends Alova2MethodConfig<PageResultGasStationVO> & {
|
|
|
+ data: GasStationQuery;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultGasStationVO, 'general.post_app_api_v1_product_oil_page', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] A3-查询站点详情
|
|
|
+ *
|
|
|
+ * **path:** /app-api/v1/product_oil/queryStoreDetail
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 纬度
|
|
|
+ * lat: number
|
|
|
+ * // 经度
|
|
|
+ * lon: number
|
|
|
+ * // 外部用户id
|
|
|
+ * outUserId?: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 门店logo
|
|
|
+ * storeLogo?: string
|
|
|
+ * // 门店图片列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storePicList?: string[]
|
|
|
+ * // 城市
|
|
|
+ * cityName?: string
|
|
|
+ * // 地址
|
|
|
+ * address?: string
|
|
|
+ * // 经度
|
|
|
+ * lon?: number
|
|
|
+ * // 纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 用户是否有未支付订单,0-否,1-是
|
|
|
+ * orderInPay?: number
|
|
|
+ * // 油号信息列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * itemInfoList?: Array<{
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 油品id
|
|
|
+ * itemId?: string
|
|
|
+ * // 发改委价格、国标价,单位分
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 枪号列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * gunNos?: string[]
|
|
|
+ * // 优惠活动标签详情列表
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * tagList?: Array<{
|
|
|
+ * // 标签类型,目前默认为0
|
|
|
+ * type?: number
|
|
|
+ * // 标签位置,目前默认为0
|
|
|
+ * location?: number
|
|
|
+ * // 图形类型,目前默认为0
|
|
|
+ * iconType?: number
|
|
|
+ * // 标签名称
|
|
|
+ * title?: string
|
|
|
+ * }>
|
|
|
+ * // 小桔价、折扣价、优惠价,小程序显示的价格
|
|
|
+ * vipPriceShow?: number
|
|
|
+ * // 发改委价格、国标价,小程序显示的价格
|
|
|
+ * cityPriceShow?: number
|
|
|
+ * // 门店价、油枪价、油机价,小程序显示的价格
|
|
|
+ * storePriceShow?: number
|
|
|
+ * }>
|
|
|
+ * // 前端距离显示千米
|
|
|
+ * distanceShow?: number
|
|
|
+ * // 油站禁止使用优惠券
|
|
|
+ * allowanceClientScheme?: boolean
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_app_api_v1_product_oil_querystoredetail<
|
|
|
+ Config extends Alova2MethodConfig<ResultGasStationDetailVO> & {
|
|
|
+ data: QueryStoreDetailRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultGasStationDetailVO, 'general.post_app_api_v1_product_oil_querystoredetail', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 优惠价格计算接口
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-pms/app-api/v1/product_oil/queryCalPrice
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 门店id
|
|
|
+ * storeId: string
|
|
|
+ * // 用户设备号,标识用户终端设备,可为空
|
|
|
+ * deviceId?: string
|
|
|
+ * // 开放渠道,固定1即可
|
|
|
+ * openChannel: number
|
|
|
+ * // 外部用户id,唯一标识用户,接入方需保证用户粒度唯一性
|
|
|
+ * outUserId: string
|
|
|
+ * // 手机号
|
|
|
+ * mobile: string
|
|
|
+ * // 油品名称,如:92#
|
|
|
+ * itemName: string
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * amount: number
|
|
|
+ * // 优惠营销信息,非必填,目前只允许单次使用一张优惠券
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 实付金额,单位分
|
|
|
+ * realPrice?: number
|
|
|
+ * // 订单总金额、机显金额,单位分
|
|
|
+ * totalPrice?: number
|
|
|
+ * // 服务费,单位分
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额,单位分
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 加油容量,单位毫升
|
|
|
+ * litre?: number
|
|
|
+ * // 油品名称,例如92#
|
|
|
+ * itemName?: string
|
|
|
+ * // 实付金额,前端显示
|
|
|
+ * realPriceShow?: number
|
|
|
+ * // 订单总金额、机显金额,前端显示
|
|
|
+ * totalPriceShow?: number
|
|
|
+ * // 服务费,前端显示
|
|
|
+ * serviceFeeShow?: number
|
|
|
+ * // 优惠减免金额,前端显示
|
|
|
+ * promotionAmountShow?: number
|
|
|
+ * // 加油容量,前端显示
|
|
|
+ * litreShow?: number
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_pms_app_api_v1_product_oil_querycalprice<
|
|
|
+ Config extends Alova2MethodConfig<ResultQueryCalPriceVO> & {
|
|
|
+ data: QueryCalPriceRequest;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultQueryCalPriceVO, 'general.post_smqjh_pms_app_api_v1_product_oil_querycalprice', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 电子围栏接口
|
|
|
+ *
|
|
|
+ * **path:** /app-api/v1/product_oil/queryDistanceFence
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 用户当前纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 用户当前经度
|
|
|
+ * lon?: number
|
|
|
+ * // 下单门店id
|
|
|
+ * storeId?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 是否有更近的油站标识,true弹框提示,false继续下一步
|
|
|
+ * isClosest?: boolean
|
|
|
+ * // 有更近标识时次集合有两条数据,第一条最近油站,当前下单油站
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * storeVOS?: Array<{
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 距离
|
|
|
+ * distance?: number
|
|
|
+ * // 前端距离显示千米
|
|
|
+ * distanceShow?: number
|
|
|
+ * // 纬度(GCJ-02火星坐标系)
|
|
|
+ * lat?: number
|
|
|
+ * // 经度(GCJ-02火星坐标系)
|
|
|
+ * lon?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_app_api_v1_product_oil_querydistancefence<
|
|
|
+ Config extends Alova2MethodConfig<ResultDistanceFenceVO> & {
|
|
|
+ data: DistanceFenceQuery;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultDistanceFenceVO, 'general.post_app_api_v1_product_oil_querydistancefence', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 下单
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/createOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 用户实时纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 用户实时经度
|
|
|
+ * lon?: number
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 油号id
|
|
|
+ * itemId?: number
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 订单总金额,单位分,价格查询接口返回的totalPrice
|
|
|
+ * originalAmount: number
|
|
|
+ * // 订单支付金额,单位分,价格查询接口返回的realPrice
|
|
|
+ * paymentAmount: number
|
|
|
+ * // 服务费,单位分,价格查询接口返回的serviceFee
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 加油升数,单位毫升 价格查询接口返回的promotionAmount
|
|
|
+ * litre?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 发改委价格、国标价,单位分,查询油站站点详细信息接口返回cityPrice
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 优惠减免金额 价格查询接口返回的promotionAmount
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 门店名称 查询油站站点详细信息storeName
|
|
|
+ * storeName?: string
|
|
|
+ * // 城市 查询油站站点详细信息cityName
|
|
|
+ * cityName?: string
|
|
|
+ * // 油品名称 查询门店价格itemName
|
|
|
+ * itemName?: string
|
|
|
+ * // 优惠营销信息,非必填
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: string
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_oms_api_v1_oil_order_createorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultString> & {
|
|
|
+ data: OilOrderPo;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultString, 'general.post_smqjh_oms_api_v1_oil_order_createorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 加油订单列表
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/findOilOrderPage
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * // 订单状态:0全部,1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * status?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 实付金额
|
|
|
+ * realMoney?: number
|
|
|
+ * // 订单金额
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 订单状态:1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * oilOrderStatus?: number
|
|
|
+ * // 合作方订单号
|
|
|
+ * thirdOrderId?: string
|
|
|
+ * // 付款时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 退款时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 下单时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 取消时间
|
|
|
+ * cancelTime?: string
|
|
|
+ * // 订单过期时间
|
|
|
+ * expireTime?: string
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * // 微信交易号
|
|
|
+ * transactionId?: string
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_oms_api_v1_oil_order_findoilorderpage<
|
|
|
+ Config extends Alova2MethodConfig<PageResultOmsOrderOilPageVO> & {
|
|
|
+ data: OmsOrderOilPageQuery;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultOmsOrderOilPageVO, 'general.post_smqjh_oms_api_v1_oil_order_findoilorderpage', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 加油订单列表
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/findOilOrderPage
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 页码
|
|
|
+ * pageNum?: number
|
|
|
+ * // 每页记录数
|
|
|
+ * pageSize?: number
|
|
|
+ * // 订单状态:0全部,1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * status?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 品牌
|
|
|
+ * brandName?: string
|
|
|
+ * // 实付金额
|
|
|
+ * realMoney?: number
|
|
|
+ * // 订单金额
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 订单状态:1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * oilOrderStatus?: number
|
|
|
+ * // 合作方订单号
|
|
|
+ * thirdOrderId?: string
|
|
|
+ * // 付款时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 退款时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 下单时间
|
|
|
+ * createTime?: string
|
|
|
+ * // 取消时间
|
|
|
+ * cancelTime?: string
|
|
|
+ * // 订单过期时间
|
|
|
+ * expireTime?: string
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * // 微信交易号
|
|
|
+ * transactionId?: string
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_order_findoilorderpage<
|
|
|
+ Config extends Alova2MethodConfig<PageResultOmsOrderOilPageVO> & {
|
|
|
+ data: OmsOrderOilPageQuery;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultOmsOrderOilPageVO, 'general.post_api_v1_oil_order_findoilorderpage', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 下单
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/createOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 用户实时纬度
|
|
|
+ * lat?: number
|
|
|
+ * // 用户实时经度
|
|
|
+ * lon?: number
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 油号id
|
|
|
+ * itemId?: number
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 订单总金额,单位分,价格查询接口返回的totalPrice
|
|
|
+ * originalAmount: number
|
|
|
+ * // 订单支付金额,单位分,价格查询接口返回的realPrice
|
|
|
+ * paymentAmount: number
|
|
|
+ * // 服务费,单位分,价格查询接口返回的serviceFee
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 加油升数,单位毫升 价格查询接口返回的promotionAmount
|
|
|
+ * litre?: number
|
|
|
+ * // 小桔价、折扣价、优惠价,单位分
|
|
|
+ * vipPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价,单位分
|
|
|
+ * storePrice?: number
|
|
|
+ * // 发改委价格、国标价,单位分,查询油站站点详细信息接口返回cityPrice
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 优惠减免金额 价格查询接口返回的promotionAmount
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 门店名称 查询油站站点详细信息storeName
|
|
|
+ * storeName?: string
|
|
|
+ * // 城市 查询油站站点详细信息cityName
|
|
|
+ * cityName?: string
|
|
|
+ * // 油品名称 查询门店价格itemName
|
|
|
+ * itemName?: string
|
|
|
+ * // 优惠营销信息,非必填
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * promotionInfo?: Array<{
|
|
|
+ * // 小桔定义的津贴id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 津贴类型,2-枪价券
|
|
|
+ * allowanceType?: number
|
|
|
+ * }>
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: string
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_order_createorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultString> & {
|
|
|
+ data: OilOrderPo;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultString, 'general.post_api_v1_oil_order_createorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 检查是否还有未支付订单
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/checkOnPayOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * orderId?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_api_v1_oil_order_checkonpayorder<Config extends Alova2MethodConfig<ResultCheckOnPayOrderVO>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultCheckOnPayOrderVO, 'general.get_api_v1_oil_order_checkonpayorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 取消订单并释放优惠券
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/cancel
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 订单ID
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: boolean
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_oms_api_v1_oil_order_cancel<
|
|
|
+ Config extends Alova2MethodConfig<ResultBoolean> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 订单ID
|
|
|
+ */
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultBoolean, 'general.post_smqjh_oms_api_v1_oil_order_cancel', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 支付成功后订单回写信息
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/payResultInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 订单ID
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 订单金额
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 平台订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 三方订单号
|
|
|
+ * thirdOrderId?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 加油量
|
|
|
+ * quantity?: number
|
|
|
+ * // 品牌名称
|
|
|
+ * brandName?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 油品
|
|
|
+ * itemName?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_api_v1_oil_order_payresultinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultPayResultInfoVO> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 订单ID
|
|
|
+ */
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultPayResultInfoVO, 'general.get_api_v1_oil_order_payresultinfo', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 支付订单+标记优惠券使用
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/pay
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: boolean
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_oms_api_v1_oil_order_pay<
|
|
|
+ Config extends Alova2MethodConfig<ResultBoolean> & {
|
|
|
+ params: {
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultBoolean, 'general.post_smqjh_oms_api_v1_oil_order_pay', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 取消订单并释放优惠券
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/cancel
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 订单ID
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: boolean
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_order_cancel<
|
|
|
+ Config extends Alova2MethodConfig<ResultBoolean> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 订单ID
|
|
|
+ */
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultBoolean, 'general.post_api_v1_oil_order_cancel', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 获取订单开票
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/invoiceOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 订单ID
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: string
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_oms_api_v1_oil_order_invoiceorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultString> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 订单ID
|
|
|
+ */
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultString, 'general.post_smqjh_oms_api_v1_oil_order_invoiceorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 支付成功后订单回写信息
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/payResultInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 订单ID
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // 订单金额
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 平台订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 三方订单号
|
|
|
+ * thirdOrderId?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 加油量
|
|
|
+ * quantity?: number
|
|
|
+ * // 品牌名称
|
|
|
+ * brandName?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 油品
|
|
|
+ * itemName?: string
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_oms_api_v1_oil_order_payresultinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultPayResultInfoVO> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 订单ID
|
|
|
+ */
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultPayResultInfoVO, 'general.get_smqjh_oms_api_v1_oil_order_payresultinfo', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 支付订单+标记优惠券使用
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/pay
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: boolean
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_order_pay<
|
|
|
+ Config extends Alova2MethodConfig<ResultBoolean> & {
|
|
|
+ params: {
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultBoolean, 'general.post_api_v1_oil_order_pay', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 支付订单+标记优惠券使用
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/scanTimeoutCancelOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: boolean
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_order_scantimeoutcancelorder<Config extends Alova2MethodConfig<ResultBoolean>>(
|
|
|
+ config?: Config
|
|
|
+ ): Alova2Method<ResultBoolean, 'general.post_api_v1_oil_order_scantimeoutcancelorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 退款
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/refundOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * orderId: string
|
|
|
+ * refundTime: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: boolean
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_order_refundorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultBoolean> & {
|
|
|
+ params: {
|
|
|
+ orderId: string;
|
|
|
+ refundTime: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultBoolean, 'general.post_api_v1_oil_order_refundorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 退款
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/refundOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * orderId: string
|
|
|
+ * refundTime: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: boolean
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_oms_api_v1_oil_order_refundorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultBoolean> & {
|
|
|
+ params: {
|
|
|
+ orderId: string;
|
|
|
+ refundTime: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultBoolean, 'general.post_smqjh_oms_api_v1_oil_order_refundorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 获取订单开票
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/order/invoiceOrder
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 订单ID
|
|
|
+ * orderId: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: string
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_order_invoiceorder<
|
|
|
+ Config extends Alova2MethodConfig<ResultString> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 订单ID
|
|
|
+ */
|
|
|
+ orderId: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultString, 'general.post_api_v1_oil_order_invoiceorder', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 根据订单编号查询支付地址
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/oil/order/findByPayUrl
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * // 订单ID
|
|
|
+ * orderNumber: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: string
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_smqjh_oms_api_v1_oil_order_findbypayurl<
|
|
|
+ Config extends Alova2MethodConfig<ResultString> & {
|
|
|
+ params: {
|
|
|
+ /**
|
|
|
+ * 订单ID
|
|
|
+ */
|
|
|
+ orderNumber: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultString, 'general.post_smqjh_oms_api_v1_oil_order_findbypayurl', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [POST] 加油订单支付回调
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/oil/callback/third-party
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **RequestBody**
|
|
|
+ * ```ts
|
|
|
+ * type RequestBody = {
|
|
|
+ * // 外部用户号(第三方平台UserId)
|
|
|
+ * outUserId?: string
|
|
|
+ * // 订单号
|
|
|
+ * orderId?: string
|
|
|
+ * // 门店id
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 城市名称
|
|
|
+ * cityName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 商品升数
|
|
|
+ * quantity?: string
|
|
|
+ * // 订单金额(单位:分)
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 实付金额(单位:分)
|
|
|
+ * realMoney?: number
|
|
|
+ * // 订单状态:1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * orderStatus?: number
|
|
|
+ * // 支付时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 退款时间(未退款时无退款时间)
|
|
|
+ * refundTime?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * // 返回数据对象
|
|
|
+ * data?: object
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ post_api_v1_oil_callback_third_party<
|
|
|
+ Config extends Alova2MethodConfig<Result> & {
|
|
|
+ data: NotifyOrderInfoRequestDto;
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<Result, 'general.post_api_v1_oil_callback_third_party', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 小程序-我的订单 all-全部 paddingPay-待支付 ing-进行中 completed-已完成 cancel-已取消
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/order/orderList
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * pageNum?: number
|
|
|
+ * pageSize?: number
|
|
|
+ * businessType?: string
|
|
|
+ * orderStatus?: string
|
|
|
+ * dvyType?: number
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * list?: Array<{
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 第三方订单ID
|
|
|
+ * thirdOrderId?: string
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 店铺id
|
|
|
+ * shopId?: number
|
|
|
+ * // 企业ID
|
|
|
+ * channelId?: number
|
|
|
+ * // 企业名称
|
|
|
+ * channelName?: string
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 订单总额
|
|
|
+ * orderMoney?: number
|
|
|
+ * // 商品总值
|
|
|
+ * total?: number
|
|
|
+ * // 实际总值(用户实付)
|
|
|
+ * actualTotal?: number
|
|
|
+ * // 订单运费
|
|
|
+ * freightAmount?: number
|
|
|
+ * // 企业用户用积分抵扣,后台充值积分
|
|
|
+ * offsetPoints?: number
|
|
|
+ * // 支付方式 0-微信 1-积分 2-混合
|
|
|
+ * payType?: number
|
|
|
+ * // 买家备注
|
|
|
+ * remarks?: string
|
|
|
+ * // 卖家备注
|
|
|
+ * shopRemarks?: string
|
|
|
+ * // 配送类型 1:快递 2:自提 3:及时配送
|
|
|
+ * dvyType?: number
|
|
|
+ * // 配送方式ID
|
|
|
+ * dvyId?: number
|
|
|
+ * // 物流单号
|
|
|
+ * dvyFlowId?: string
|
|
|
+ * // 物流公司编号
|
|
|
+ * dvyNo?: string
|
|
|
+ * // 物流公司名称
|
|
|
+ * dvyName?: string
|
|
|
+ * // 付款时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 发货时间
|
|
|
+ * dvyTime?: string
|
|
|
+ * // 取消原因
|
|
|
+ * cancelReason?: string
|
|
|
+ * // 取消时间
|
|
|
+ * cancelTime?: string
|
|
|
+ * // 用户订单删除状态
|
|
|
+ * deleteStatus?: number
|
|
|
+ * // 订单类型 0-微信订单 1-积分订单 2-混合订单
|
|
|
+ * orderType?: number
|
|
|
+ * // 订单关闭原因 1-超时未支付 2-退款关闭 4-买家取消 15-已通过货到付款交易
|
|
|
+ * closeType?: number
|
|
|
+ * // 海博订单状态:0-待支付,1-待发货(快递使用),20-订单已接单(待拣货),30-订单待配送(拣货完成/自提类订单为待自提),40-订单配送中 ,50-订单取消待审核,60-订单已取消,70-订单已送达,80-订单已完成
|
|
|
+ * hbOrderStatus?: number
|
|
|
+ * // 海博物流状态(20:已抢单,30:配送员到店,40:取货完成,50:配送单取消,100:已送达)
|
|
|
+ * hbLogisticStatus?: number
|
|
|
+ * // 业务类型
|
|
|
+ * businessType?: string
|
|
|
+ * // 收货人姓名
|
|
|
+ * consigneeName?: string
|
|
|
+ * // 收货人电话
|
|
|
+ * consigneeMobile: string
|
|
|
+ * // 收货人地址
|
|
|
+ * consigneeAddress?: string
|
|
|
+ * // 是否已经支付,1:已经支付过,0:,没有支付过
|
|
|
+ * isPayed?: number
|
|
|
+ * // 微信订单号
|
|
|
+ * outTradeNo?: string
|
|
|
+ * // 微信交易号
|
|
|
+ * transactionId?: string
|
|
|
+ * // 纬度
|
|
|
+ * latitude?: number
|
|
|
+ * // 经度
|
|
|
+ * longitude?: number
|
|
|
+ * // 订单售后状态(0-无售后订单,1-部分商品退款,2-退款完成)
|
|
|
+ * refundStatus?: number
|
|
|
+ * // 影院名称
|
|
|
+ * cinemaName?: string
|
|
|
+ * // 影院编码
|
|
|
+ * cinemaCode?: string
|
|
|
+ * // 计影片类型
|
|
|
+ * planType?: string
|
|
|
+ * // 影厅名称
|
|
|
+ * hallName?: string
|
|
|
+ * // 场次
|
|
|
+ * session?: string
|
|
|
+ * // 电影名称
|
|
|
+ * movieName?: string
|
|
|
+ * // 订单图片
|
|
|
+ * orderImage?: string
|
|
|
+ * // 门店名称
|
|
|
+ * shopName?: string
|
|
|
+ * // 门店地址
|
|
|
+ * shopAddress?: string
|
|
|
+ * // 门店电话
|
|
|
+ * tel?: string
|
|
|
+ * djkOrderAttachInfo?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 大健康订单类型 0-正常订单 1-福利订单
|
|
|
+ * djkOrderType?: number
|
|
|
+ * // 商品id
|
|
|
+ * goodsId?: number
|
|
|
+ * // 商品图
|
|
|
+ * goodsImg?: string
|
|
|
+ * // 商品名
|
|
|
+ * goodsName?: string
|
|
|
+ * // 商品编码
|
|
|
+ * goodsCode?: string
|
|
|
+ * // 价格
|
|
|
+ * price?: number
|
|
|
+ * // 商品数量
|
|
|
+ * goodsNum?: number
|
|
|
+ * // 有效时间(天)
|
|
|
+ * effectiveTime?: number
|
|
|
+ * // 提前预约时间(天)
|
|
|
+ * advanceBookingTime?: number
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 客户授权
|
|
|
+ * customerAuthorization?: number
|
|
|
+ * // 过期时间
|
|
|
+ * expiredTime?: string
|
|
|
+ * // 核销时间
|
|
|
+ * verificationTime?: string
|
|
|
+ * // 核销人
|
|
|
+ * verificationPerson?: string
|
|
|
+ * // 核销门店
|
|
|
+ * verificationShop?: string
|
|
|
+ * // 退款单号
|
|
|
+ * refundNo?: string
|
|
|
+ * // 退款原因
|
|
|
+ * refundReason?: string
|
|
|
+ * // 退款描述
|
|
|
+ * refundDesc?: string
|
|
|
+ * // 退款图片
|
|
|
+ * refundImg?: string
|
|
|
+ * // 提交退款时间
|
|
|
+ * submitRefundTime?: string
|
|
|
+ * // 退款到账时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 订单备注
|
|
|
+ * remark?: string
|
|
|
+ * }
|
|
|
+ * // 商品总额
|
|
|
+ * goodsTotal?: number
|
|
|
+ * // 是否存在退款单 0不存在 1存在
|
|
|
+ * hasRefund?: number
|
|
|
+ * // 子订单
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * orderItemList?: Array<{
|
|
|
+ * // 用户Id
|
|
|
+ * memberId?: number
|
|
|
+ * // 店铺id
|
|
|
+ * shopId?: number
|
|
|
+ * // 订单order_number
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 产品ID
|
|
|
+ * prodId?: number
|
|
|
+ * // 产品SkuID
|
|
|
+ * skuId?: number
|
|
|
+ * // 购物车产品个数
|
|
|
+ * prodCount?: number
|
|
|
+ * // 产品名称
|
|
|
+ * prodName?: string
|
|
|
+ * // sku名称
|
|
|
+ * skuName?: string
|
|
|
+ * // 产品主图片路径
|
|
|
+ * pic?: string
|
|
|
+ * // spec
|
|
|
+ * spec?: string
|
|
|
+ * // 产品价格
|
|
|
+ * price?: number
|
|
|
+ * // 商品小计
|
|
|
+ * productTotalAmount?: number
|
|
|
+ * // 购物时间
|
|
|
+ * recTime?: string
|
|
|
+ * // 使用积分
|
|
|
+ * useScore?: number
|
|
|
+ * // 获得积分
|
|
|
+ * gainScore?: number
|
|
|
+ * }>
|
|
|
+ * // 电影院子订单
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * orderMovieItems?: Array<{
|
|
|
+ * // 订单order_number
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 座位名称
|
|
|
+ * name?: string
|
|
|
+ * // 票码
|
|
|
+ * ticketCode?: string
|
|
|
+ * // 二维码
|
|
|
+ * pic?: string
|
|
|
+ * // 区域类型(1-普通区域, 2-特殊区域 3-贵宾区)
|
|
|
+ * areaType?: string
|
|
|
+ * // 使用状态(未使用, :已使用, :已过期)
|
|
|
+ * status?: number
|
|
|
+ * // 产品价格
|
|
|
+ * price?: number
|
|
|
+ * // 购物时间
|
|
|
+ * recTime?: string
|
|
|
+ * }>
|
|
|
+ * // 影院电话号码
|
|
|
+ * cinemaPhone?: string
|
|
|
+ * chargeOrder?: {
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 充电订单状态:
|
|
|
+ * status?: number
|
|
|
+ * // 备注
|
|
|
+ * remarks?: string
|
|
|
+ * // 充电订单号
|
|
|
+ * chargeOrderNo?: string
|
|
|
+ * // 开始充电时间
|
|
|
+ * startTime?: string
|
|
|
+ * // 结束充电时间
|
|
|
+ * endTime?: string
|
|
|
+ * // 第三方充电站ID
|
|
|
+ * stationId?: string
|
|
|
+ * // 充电时间:秒
|
|
|
+ * chargeTime?: number
|
|
|
+ * // 实际充电度数(单位:0.001 kw/h)
|
|
|
+ * totalCharge?: number
|
|
|
+ * // 平台实际收取金额
|
|
|
+ * realCost?: number
|
|
|
+ * // 平台总服务费
|
|
|
+ * realServiceCost?: number
|
|
|
+ * // 预充值金额
|
|
|
+ * preAmt?: number
|
|
|
+ * // 充电设备接口编码
|
|
|
+ * connectorId?: string
|
|
|
+ * chargeOrderId?: string
|
|
|
+ * // 电站名称
|
|
|
+ * powerStationName?: string
|
|
|
+ * // 三方电费
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 充电度数
|
|
|
+ * totalPower?: number
|
|
|
+ * // 0:用户手动停止充电;1:客户归属地运营商平台停止充电;2:BMS停止充电;3:充电机设备故障;4:连接器断开;其它:自定义
|
|
|
+ * stopMethod?: number
|
|
|
+ * }
|
|
|
+ * yppDetail?: {
|
|
|
+ * key?: object
|
|
|
+ * }
|
|
|
+ * // 会员昵称
|
|
|
+ * memberNickName?: string
|
|
|
+ * // 会员真实姓名
|
|
|
+ * memberRealName?: string
|
|
|
+ * // 会员电话
|
|
|
+ * memberMobile?: string
|
|
|
+ * // 记录
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * djkOrderLogList?: Array<{
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 操作
|
|
|
+ * operation?: string
|
|
|
+ * // 操作员
|
|
|
+ * operator?: string
|
|
|
+ * // 订单备注
|
|
|
+ * remark?: string
|
|
|
+ * }>
|
|
|
+ * virtualOrderItem?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订购流水号,关联主订单
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 渠道ID
|
|
|
+ * channelId?: number
|
|
|
+ * // 商品编号(本地pms_video_product.product_number)
|
|
|
+ * productNumber?: string
|
|
|
+ * // 第三方商品编码(pms_video_product.product_id)
|
|
|
+ * productId?: string
|
|
|
+ * // 商品名称
|
|
|
+ * productName?: string
|
|
|
+ * // 商品类型:卡密/直充
|
|
|
+ * productType?: string
|
|
|
+ * // 面值
|
|
|
+ * faceValue?: number
|
|
|
+ * // 采购价(成本)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 销售价(从pms_video_channel_price获取)
|
|
|
+ * sellPrice?: number
|
|
|
+ * // 充值账号(直充类)
|
|
|
+ * rechargeAccount?: string
|
|
|
+ * // 账号类型:1手机号 2QQ号 0其他
|
|
|
+ * accountType?: number
|
|
|
+ * // 充值状态:0待处理 1处理中 2成功 3失败
|
|
|
+ * rechargeStatus?: number
|
|
|
+ * // 第三方平台订单号
|
|
|
+ * thirdOrderNo?: string
|
|
|
+ * // 卡密信息JSON(卡密类商品,需解密)
|
|
|
+ * cardInfo?: string
|
|
|
+ * // 第三方接口原始返回JSON
|
|
|
+ * thirdResponse?: string
|
|
|
+ * }
|
|
|
+ * // 优惠券ID
|
|
|
+ * couponId?: string
|
|
|
+ * // 1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * oilOrderStatus?: number
|
|
|
+ * // 订单平台类型(0-小程序 1-TV)
|
|
|
+ * orderPlatformType?: number
|
|
|
+ * // 订单过期时间
|
|
|
+ * expireTime?: string
|
|
|
+ * // 是否可核销,0:不可核销操作,1:可进行核销操作
|
|
|
+ * isWriteOff?: number
|
|
|
+ * shopInfo?: {
|
|
|
+ * // 门店id
|
|
|
+ * shopId?: number
|
|
|
+ * // shop_logo
|
|
|
+ * shopLogo?: string
|
|
|
+ * // 门店名称
|
|
|
+ * shopName?: string
|
|
|
+ * // shop_lat
|
|
|
+ * shopLat?: number
|
|
|
+ * // shop_lng
|
|
|
+ * shopLng?: number
|
|
|
+ * // tel
|
|
|
+ * tel?: string
|
|
|
+ * }
|
|
|
+ * omsOrderOilVO?: {
|
|
|
+ * // 小桔订单号
|
|
|
+ * xjOrderId?: string
|
|
|
+ * // 门店ID
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 城市名称
|
|
|
+ * cityName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 油号id
|
|
|
+ * itemId?: number
|
|
|
+ * // 商品升数
|
|
|
+ * quantity?: number
|
|
|
+ * // 订单金额(单位:分)
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 实付金额(单位:分)
|
|
|
+ * realMoney?: number
|
|
|
+ * // 订单状态:1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * orderStatus?: number
|
|
|
+ * // 支付时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 退款时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 服务费
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 发改委价格、国标价
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价
|
|
|
+ * storePrice?: number
|
|
|
+ * // 品牌名称
|
|
|
+ * brandName?: string
|
|
|
+ * // 油站地址
|
|
|
+ * address?: string
|
|
|
+ * // 优惠卷名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠卷id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * // 小桔价、折扣价、优惠价
|
|
|
+ * vipPrice?: number
|
|
|
+ * }
|
|
|
+ * }>
|
|
|
+ * total?: number
|
|
|
+ * }
|
|
|
+ * // 返回处理消息
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_api_v1_order_orderlist<
|
|
|
+ Config extends Alova2MethodConfig<PageResultOmsOrder> & {
|
|
|
+ params: {
|
|
|
+ pageNum?: number;
|
|
|
+ pageSize?: number;
|
|
|
+ businessType?: string;
|
|
|
+ orderStatus?: string;
|
|
|
+ dvyType?: number;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<PageResultOmsOrder, 'general.get_api_v1_order_orderlist', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 小程序-订单详情
|
|
|
+ *
|
|
|
+ * **path:** /smqjh-oms/api/v1/order/orderInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * orderNo?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 第三方订单ID
|
|
|
+ * thirdOrderId?: string
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 店铺id
|
|
|
+ * shopId?: number
|
|
|
+ * // 企业ID
|
|
|
+ * channelId?: number
|
|
|
+ * // 企业名称
|
|
|
+ * channelName?: string
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 订单总额
|
|
|
+ * orderMoney?: number
|
|
|
+ * // 商品总值
|
|
|
+ * total?: number
|
|
|
+ * // 实际总值(用户实付)
|
|
|
+ * actualTotal?: number
|
|
|
+ * // 订单运费
|
|
|
+ * freightAmount?: number
|
|
|
+ * // 企业用户用积分抵扣,后台充值积分
|
|
|
+ * offsetPoints?: number
|
|
|
+ * // 支付方式 0-微信 1-积分 2-混合
|
|
|
+ * payType?: number
|
|
|
+ * // 买家备注
|
|
|
+ * remarks?: string
|
|
|
+ * // 卖家备注
|
|
|
+ * shopRemarks?: string
|
|
|
+ * // 配送类型 1:快递 2:自提 3:及时配送
|
|
|
+ * dvyType?: number
|
|
|
+ * // 配送方式ID
|
|
|
+ * dvyId?: number
|
|
|
+ * // 物流单号
|
|
|
+ * dvyFlowId?: string
|
|
|
+ * // 物流公司编号
|
|
|
+ * dvyNo?: string
|
|
|
+ * // 物流公司名称
|
|
|
+ * dvyName?: string
|
|
|
+ * // 付款时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 发货时间
|
|
|
+ * dvyTime?: string
|
|
|
+ * // 取消原因
|
|
|
+ * cancelReason?: string
|
|
|
+ * // 取消时间
|
|
|
+ * cancelTime?: string
|
|
|
+ * // 用户订单删除状态
|
|
|
+ * deleteStatus?: number
|
|
|
+ * // 订单类型 0-微信订单 1-积分订单 2-混合订单
|
|
|
+ * orderType?: number
|
|
|
+ * // 订单关闭原因 1-超时未支付 2-退款关闭 4-买家取消 15-已通过货到付款交易
|
|
|
+ * closeType?: number
|
|
|
+ * // 海博订单状态:0-待支付,1-待发货(快递使用),20-订单已接单(待拣货),30-订单待配送(拣货完成/自提类订单为待自提),40-订单配送中 ,50-订单取消待审核,60-订单已取消,70-订单已送达,80-订单已完成
|
|
|
+ * hbOrderStatus?: number
|
|
|
+ * // 海博物流状态(20:已抢单,30:配送员到店,40:取货完成,50:配送单取消,100:已送达)
|
|
|
+ * hbLogisticStatus?: number
|
|
|
+ * // 业务类型
|
|
|
+ * businessType?: string
|
|
|
+ * // 收货人姓名
|
|
|
+ * consigneeName?: string
|
|
|
+ * // 收货人电话
|
|
|
+ * consigneeMobile: string
|
|
|
+ * // 收货人地址
|
|
|
+ * consigneeAddress?: string
|
|
|
+ * // 是否已经支付,1:已经支付过,0:,没有支付过
|
|
|
+ * isPayed?: number
|
|
|
+ * // 微信订单号
|
|
|
+ * outTradeNo?: string
|
|
|
+ * // 微信交易号
|
|
|
+ * transactionId?: string
|
|
|
+ * // 纬度
|
|
|
+ * latitude?: number
|
|
|
+ * // 经度
|
|
|
+ * longitude?: number
|
|
|
+ * // 订单售后状态(0-无售后订单,1-部分商品退款,2-退款完成)
|
|
|
+ * refundStatus?: number
|
|
|
+ * // 影院名称
|
|
|
+ * cinemaName?: string
|
|
|
+ * // 影院编码
|
|
|
+ * cinemaCode?: string
|
|
|
+ * // 计影片类型
|
|
|
+ * planType?: string
|
|
|
+ * // 影厅名称
|
|
|
+ * hallName?: string
|
|
|
+ * // 场次
|
|
|
+ * session?: string
|
|
|
+ * // 电影名称
|
|
|
+ * movieName?: string
|
|
|
+ * // 订单图片
|
|
|
+ * orderImage?: string
|
|
|
+ * // 门店名称
|
|
|
+ * shopName?: string
|
|
|
+ * // 门店地址
|
|
|
+ * shopAddress?: string
|
|
|
+ * // 门店电话
|
|
|
+ * tel?: string
|
|
|
+ * djkOrderAttachInfo?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 大健康订单类型 0-正常订单 1-福利订单
|
|
|
+ * djkOrderType?: number
|
|
|
+ * // 商品id
|
|
|
+ * goodsId?: number
|
|
|
+ * // 商品图
|
|
|
+ * goodsImg?: string
|
|
|
+ * // 商品名
|
|
|
+ * goodsName?: string
|
|
|
+ * // 商品编码
|
|
|
+ * goodsCode?: string
|
|
|
+ * // 价格
|
|
|
+ * price?: number
|
|
|
+ * // 商品数量
|
|
|
+ * goodsNum?: number
|
|
|
+ * // 有效时间(天)
|
|
|
+ * effectiveTime?: number
|
|
|
+ * // 提前预约时间(天)
|
|
|
+ * advanceBookingTime?: number
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 客户授权
|
|
|
+ * customerAuthorization?: number
|
|
|
+ * // 过期时间
|
|
|
+ * expiredTime?: string
|
|
|
+ * // 核销时间
|
|
|
+ * verificationTime?: string
|
|
|
+ * // 核销人
|
|
|
+ * verificationPerson?: string
|
|
|
+ * // 核销门店
|
|
|
+ * verificationShop?: string
|
|
|
+ * // 退款单号
|
|
|
+ * refundNo?: string
|
|
|
+ * // 退款原因
|
|
|
+ * refundReason?: string
|
|
|
+ * // 退款描述
|
|
|
+ * refundDesc?: string
|
|
|
+ * // 退款图片
|
|
|
+ * refundImg?: string
|
|
|
+ * // 提交退款时间
|
|
|
+ * submitRefundTime?: string
|
|
|
+ * // 退款到账时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 订单备注
|
|
|
+ * remark?: string
|
|
|
+ * }
|
|
|
+ * // 商品总额
|
|
|
+ * goodsTotal?: number
|
|
|
+ * // 是否存在退款单 0不存在 1存在
|
|
|
+ * hasRefund?: number
|
|
|
+ * // 子订单
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * orderItemList?: Array<{
|
|
|
+ * // 用户Id
|
|
|
+ * memberId?: number
|
|
|
+ * // 店铺id
|
|
|
+ * shopId?: number
|
|
|
+ * // 订单order_number
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 产品ID
|
|
|
+ * prodId?: number
|
|
|
+ * // 产品SkuID
|
|
|
+ * skuId?: number
|
|
|
+ * // 购物车产品个数
|
|
|
+ * prodCount?: number
|
|
|
+ * // 产品名称
|
|
|
+ * prodName?: string
|
|
|
+ * // sku名称
|
|
|
+ * skuName?: string
|
|
|
+ * // 产品主图片路径
|
|
|
+ * pic?: string
|
|
|
+ * // spec
|
|
|
+ * spec?: string
|
|
|
+ * // 产品价格
|
|
|
+ * price?: number
|
|
|
+ * // 商品小计
|
|
|
+ * productTotalAmount?: number
|
|
|
+ * // 购物时间
|
|
|
+ * recTime?: string
|
|
|
+ * // 使用积分
|
|
|
+ * useScore?: number
|
|
|
+ * // 获得积分
|
|
|
+ * gainScore?: number
|
|
|
+ * }>
|
|
|
+ * // 电影院子订单
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * orderMovieItems?: Array<{
|
|
|
+ * // 订单order_number
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 座位名称
|
|
|
+ * name?: string
|
|
|
+ * // 票码
|
|
|
+ * ticketCode?: string
|
|
|
+ * // 二维码
|
|
|
+ * pic?: string
|
|
|
+ * // 区域类型(1-普通区域, 2-特殊区域 3-贵宾区)
|
|
|
+ * areaType?: string
|
|
|
+ * // 使用状态(未使用, :已使用, :已过期)
|
|
|
+ * status?: number
|
|
|
+ * // 产品价格
|
|
|
+ * price?: number
|
|
|
+ * // 购物时间
|
|
|
+ * recTime?: string
|
|
|
+ * }>
|
|
|
+ * // 影院电话号码
|
|
|
+ * cinemaPhone?: string
|
|
|
+ * chargeOrder?: {
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 充电订单状态:
|
|
|
+ * status?: number
|
|
|
+ * // 备注
|
|
|
+ * remarks?: string
|
|
|
+ * // 充电订单号
|
|
|
+ * chargeOrderNo?: string
|
|
|
+ * // 开始充电时间
|
|
|
+ * startTime?: string
|
|
|
+ * // 结束充电时间
|
|
|
+ * endTime?: string
|
|
|
+ * // 第三方充电站ID
|
|
|
+ * stationId?: string
|
|
|
+ * // 充电时间:秒
|
|
|
+ * chargeTime?: number
|
|
|
+ * // 实际充电度数(单位:0.001 kw/h)
|
|
|
+ * totalCharge?: number
|
|
|
+ * // 平台实际收取金额
|
|
|
+ * realCost?: number
|
|
|
+ * // 平台总服务费
|
|
|
+ * realServiceCost?: number
|
|
|
+ * // 预充值金额
|
|
|
+ * preAmt?: number
|
|
|
+ * // 充电设备接口编码
|
|
|
+ * connectorId?: string
|
|
|
+ * chargeOrderId?: string
|
|
|
+ * // 电站名称
|
|
|
+ * powerStationName?: string
|
|
|
+ * // 三方电费
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 充电度数
|
|
|
+ * totalPower?: number
|
|
|
+ * // 0:用户手动停止充电;1:客户归属地运营商平台停止充电;2:BMS停止充电;3:充电机设备故障;4:连接器断开;其它:自定义
|
|
|
+ * stopMethod?: number
|
|
|
+ * }
|
|
|
+ * yppDetail?: {
|
|
|
+ * key?: object
|
|
|
+ * }
|
|
|
+ * // 会员昵称
|
|
|
+ * memberNickName?: string
|
|
|
+ * // 会员真实姓名
|
|
|
+ * memberRealName?: string
|
|
|
+ * // 会员电话
|
|
|
+ * memberMobile?: string
|
|
|
+ * // 记录
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * djkOrderLogList?: Array<{
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 操作
|
|
|
+ * operation?: string
|
|
|
+ * // 操作员
|
|
|
+ * operator?: string
|
|
|
+ * // 订单备注
|
|
|
+ * remark?: string
|
|
|
+ * }>
|
|
|
+ * virtualOrderItem?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订购流水号,关联主订单
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 渠道ID
|
|
|
+ * channelId?: number
|
|
|
+ * // 商品编号(本地pms_video_product.product_number)
|
|
|
+ * productNumber?: string
|
|
|
+ * // 第三方商品编码(pms_video_product.product_id)
|
|
|
+ * productId?: string
|
|
|
+ * // 商品名称
|
|
|
+ * productName?: string
|
|
|
+ * // 商品类型:卡密/直充
|
|
|
+ * productType?: string
|
|
|
+ * // 面值
|
|
|
+ * faceValue?: number
|
|
|
+ * // 采购价(成本)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 销售价(从pms_video_channel_price获取)
|
|
|
+ * sellPrice?: number
|
|
|
+ * // 充值账号(直充类)
|
|
|
+ * rechargeAccount?: string
|
|
|
+ * // 账号类型:1手机号 2QQ号 0其他
|
|
|
+ * accountType?: number
|
|
|
+ * // 充值状态:0待处理 1处理中 2成功 3失败
|
|
|
+ * rechargeStatus?: number
|
|
|
+ * // 第三方平台订单号
|
|
|
+ * thirdOrderNo?: string
|
|
|
+ * // 卡密信息JSON(卡密类商品,需解密)
|
|
|
+ * cardInfo?: string
|
|
|
+ * // 第三方接口原始返回JSON
|
|
|
+ * thirdResponse?: string
|
|
|
+ * }
|
|
|
+ * // 优惠券ID
|
|
|
+ * couponId?: string
|
|
|
+ * // 1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * oilOrderStatus?: number
|
|
|
+ * // 订单平台类型(0-小程序 1-TV)
|
|
|
+ * orderPlatformType?: number
|
|
|
+ * // 订单过期时间
|
|
|
+ * expireTime?: string
|
|
|
+ * // 是否可核销,0:不可核销操作,1:可进行核销操作
|
|
|
+ * isWriteOff?: number
|
|
|
+ * shopInfo?: {
|
|
|
+ * // 门店id
|
|
|
+ * shopId?: number
|
|
|
+ * // shop_logo
|
|
|
+ * shopLogo?: string
|
|
|
+ * // 门店名称
|
|
|
+ * shopName?: string
|
|
|
+ * // shop_lat
|
|
|
+ * shopLat?: number
|
|
|
+ * // shop_lng
|
|
|
+ * shopLng?: number
|
|
|
+ * // tel
|
|
|
+ * tel?: string
|
|
|
+ * }
|
|
|
+ * omsOrderOilVO?: {
|
|
|
+ * // 小桔订单号
|
|
|
+ * xjOrderId?: string
|
|
|
+ * // 门店ID
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 城市名称
|
|
|
+ * cityName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 油号id
|
|
|
+ * itemId?: number
|
|
|
+ * // 商品升数
|
|
|
+ * quantity?: number
|
|
|
+ * // 订单金额(单位:分)
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 实付金额(单位:分)
|
|
|
+ * realMoney?: number
|
|
|
+ * // 订单状态:1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * orderStatus?: number
|
|
|
+ * // 支付时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 退款时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 服务费
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 发改委价格、国标价
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价
|
|
|
+ * storePrice?: number
|
|
|
+ * // 品牌名称
|
|
|
+ * brandName?: string
|
|
|
+ * // 油站地址
|
|
|
+ * address?: string
|
|
|
+ * // 优惠卷名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠卷id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * // 小桔价、折扣价、优惠价
|
|
|
+ * vipPrice?: number
|
|
|
+ * }
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_smqjh_oms_api_v1_order_orderinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultOmsOrder> & {
|
|
|
+ params: {
|
|
|
+ orderNo?: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultOmsOrder, 'general.get_smqjh_oms_api_v1_order_orderinfo', Config>;
|
|
|
+ /**
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * [GET] 小程序-订单详情
|
|
|
+ *
|
|
|
+ * **path:** /api/v1/order/orderInfo
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Query Parameters**
|
|
|
+ * ```ts
|
|
|
+ * type QueryParameters = {
|
|
|
+ * orderNo?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ *
|
|
|
+ * ---
|
|
|
+ *
|
|
|
+ * **Response**
|
|
|
+ * ```ts
|
|
|
+ * type Response = {
|
|
|
+ * // 返回状态码
|
|
|
+ * code?: string
|
|
|
+ * data?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 第三方订单ID
|
|
|
+ * thirdOrderId?: string
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 店铺id
|
|
|
+ * shopId?: number
|
|
|
+ * // 企业ID
|
|
|
+ * channelId?: number
|
|
|
+ * // 企业名称
|
|
|
+ * channelName?: string
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 订单总额
|
|
|
+ * orderMoney?: number
|
|
|
+ * // 商品总值
|
|
|
+ * total?: number
|
|
|
+ * // 实际总值(用户实付)
|
|
|
+ * actualTotal?: number
|
|
|
+ * // 订单运费
|
|
|
+ * freightAmount?: number
|
|
|
+ * // 企业用户用积分抵扣,后台充值积分
|
|
|
+ * offsetPoints?: number
|
|
|
+ * // 支付方式 0-微信 1-积分 2-混合
|
|
|
+ * payType?: number
|
|
|
+ * // 买家备注
|
|
|
+ * remarks?: string
|
|
|
+ * // 卖家备注
|
|
|
+ * shopRemarks?: string
|
|
|
+ * // 配送类型 1:快递 2:自提 3:及时配送
|
|
|
+ * dvyType?: number
|
|
|
+ * // 配送方式ID
|
|
|
+ * dvyId?: number
|
|
|
+ * // 物流单号
|
|
|
+ * dvyFlowId?: string
|
|
|
+ * // 物流公司编号
|
|
|
+ * dvyNo?: string
|
|
|
+ * // 物流公司名称
|
|
|
+ * dvyName?: string
|
|
|
+ * // 付款时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 发货时间
|
|
|
+ * dvyTime?: string
|
|
|
+ * // 取消原因
|
|
|
+ * cancelReason?: string
|
|
|
+ * // 取消时间
|
|
|
+ * cancelTime?: string
|
|
|
+ * // 用户订单删除状态
|
|
|
+ * deleteStatus?: number
|
|
|
+ * // 订单类型 0-微信订单 1-积分订单 2-混合订单
|
|
|
+ * orderType?: number
|
|
|
+ * // 订单关闭原因 1-超时未支付 2-退款关闭 4-买家取消 15-已通过货到付款交易
|
|
|
+ * closeType?: number
|
|
|
+ * // 海博订单状态:0-待支付,1-待发货(快递使用),20-订单已接单(待拣货),30-订单待配送(拣货完成/自提类订单为待自提),40-订单配送中 ,50-订单取消待审核,60-订单已取消,70-订单已送达,80-订单已完成
|
|
|
+ * hbOrderStatus?: number
|
|
|
+ * // 海博物流状态(20:已抢单,30:配送员到店,40:取货完成,50:配送单取消,100:已送达)
|
|
|
+ * hbLogisticStatus?: number
|
|
|
+ * // 业务类型
|
|
|
+ * businessType?: string
|
|
|
+ * // 收货人姓名
|
|
|
+ * consigneeName?: string
|
|
|
+ * // 收货人电话
|
|
|
+ * consigneeMobile: string
|
|
|
+ * // 收货人地址
|
|
|
+ * consigneeAddress?: string
|
|
|
+ * // 是否已经支付,1:已经支付过,0:,没有支付过
|
|
|
+ * isPayed?: number
|
|
|
+ * // 微信订单号
|
|
|
+ * outTradeNo?: string
|
|
|
+ * // 微信交易号
|
|
|
+ * transactionId?: string
|
|
|
+ * // 纬度
|
|
|
+ * latitude?: number
|
|
|
+ * // 经度
|
|
|
+ * longitude?: number
|
|
|
+ * // 订单售后状态(0-无售后订单,1-部分商品退款,2-退款完成)
|
|
|
+ * refundStatus?: number
|
|
|
+ * // 影院名称
|
|
|
+ * cinemaName?: string
|
|
|
+ * // 影院编码
|
|
|
+ * cinemaCode?: string
|
|
|
+ * // 计影片类型
|
|
|
+ * planType?: string
|
|
|
+ * // 影厅名称
|
|
|
+ * hallName?: string
|
|
|
+ * // 场次
|
|
|
+ * session?: string
|
|
|
+ * // 电影名称
|
|
|
+ * movieName?: string
|
|
|
+ * // 订单图片
|
|
|
+ * orderImage?: string
|
|
|
+ * // 门店名称
|
|
|
+ * shopName?: string
|
|
|
+ * // 门店地址
|
|
|
+ * shopAddress?: string
|
|
|
+ * // 门店电话
|
|
|
+ * tel?: string
|
|
|
+ * djkOrderAttachInfo?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 大健康订单类型 0-正常订单 1-福利订单
|
|
|
+ * djkOrderType?: number
|
|
|
+ * // 商品id
|
|
|
+ * goodsId?: number
|
|
|
+ * // 商品图
|
|
|
+ * goodsImg?: string
|
|
|
+ * // 商品名
|
|
|
+ * goodsName?: string
|
|
|
+ * // 商品编码
|
|
|
+ * goodsCode?: string
|
|
|
+ * // 价格
|
|
|
+ * price?: number
|
|
|
+ * // 商品数量
|
|
|
+ * goodsNum?: number
|
|
|
+ * // 有效时间(天)
|
|
|
+ * effectiveTime?: number
|
|
|
+ * // 提前预约时间(天)
|
|
|
+ * advanceBookingTime?: number
|
|
|
+ * // 活动名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 客户授权
|
|
|
+ * customerAuthorization?: number
|
|
|
+ * // 过期时间
|
|
|
+ * expiredTime?: string
|
|
|
+ * // 核销时间
|
|
|
+ * verificationTime?: string
|
|
|
+ * // 核销人
|
|
|
+ * verificationPerson?: string
|
|
|
+ * // 核销门店
|
|
|
+ * verificationShop?: string
|
|
|
+ * // 退款单号
|
|
|
+ * refundNo?: string
|
|
|
+ * // 退款原因
|
|
|
+ * refundReason?: string
|
|
|
+ * // 退款描述
|
|
|
+ * refundDesc?: string
|
|
|
+ * // 退款图片
|
|
|
+ * refundImg?: string
|
|
|
+ * // 提交退款时间
|
|
|
+ * submitRefundTime?: string
|
|
|
+ * // 退款到账时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 订单备注
|
|
|
+ * remark?: string
|
|
|
+ * }
|
|
|
+ * // 商品总额
|
|
|
+ * goodsTotal?: number
|
|
|
+ * // 是否存在退款单 0不存在 1存在
|
|
|
+ * hasRefund?: number
|
|
|
+ * // 子订单
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * orderItemList?: Array<{
|
|
|
+ * // 用户Id
|
|
|
+ * memberId?: number
|
|
|
+ * // 店铺id
|
|
|
+ * shopId?: number
|
|
|
+ * // 订单order_number
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 产品ID
|
|
|
+ * prodId?: number
|
|
|
+ * // 产品SkuID
|
|
|
+ * skuId?: number
|
|
|
+ * // 购物车产品个数
|
|
|
+ * prodCount?: number
|
|
|
+ * // 产品名称
|
|
|
+ * prodName?: string
|
|
|
+ * // sku名称
|
|
|
+ * skuName?: string
|
|
|
+ * // 产品主图片路径
|
|
|
+ * pic?: string
|
|
|
+ * // spec
|
|
|
+ * spec?: string
|
|
|
+ * // 产品价格
|
|
|
+ * price?: number
|
|
|
+ * // 商品小计
|
|
|
+ * productTotalAmount?: number
|
|
|
+ * // 购物时间
|
|
|
+ * recTime?: string
|
|
|
+ * // 使用积分
|
|
|
+ * useScore?: number
|
|
|
+ * // 获得积分
|
|
|
+ * gainScore?: number
|
|
|
+ * }>
|
|
|
+ * // 电影院子订单
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * orderMovieItems?: Array<{
|
|
|
+ * // 订单order_number
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 座位名称
|
|
|
+ * name?: string
|
|
|
+ * // 票码
|
|
|
+ * ticketCode?: string
|
|
|
+ * // 二维码
|
|
|
+ * pic?: string
|
|
|
+ * // 区域类型(1-普通区域, 2-特殊区域 3-贵宾区)
|
|
|
+ * areaType?: string
|
|
|
+ * // 使用状态(未使用, :已使用, :已过期)
|
|
|
+ * status?: number
|
|
|
+ * // 产品价格
|
|
|
+ * price?: number
|
|
|
+ * // 购物时间
|
|
|
+ * recTime?: string
|
|
|
+ * }>
|
|
|
+ * // 影院电话号码
|
|
|
+ * cinemaPhone?: string
|
|
|
+ * chargeOrder?: {
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 订购流水号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 充电订单状态:
|
|
|
+ * status?: number
|
|
|
+ * // 备注
|
|
|
+ * remarks?: string
|
|
|
+ * // 充电订单号
|
|
|
+ * chargeOrderNo?: string
|
|
|
+ * // 开始充电时间
|
|
|
+ * startTime?: string
|
|
|
+ * // 结束充电时间
|
|
|
+ * endTime?: string
|
|
|
+ * // 第三方充电站ID
|
|
|
+ * stationId?: string
|
|
|
+ * // 充电时间:秒
|
|
|
+ * chargeTime?: number
|
|
|
+ * // 实际充电度数(单位:0.001 kw/h)
|
|
|
+ * totalCharge?: number
|
|
|
+ * // 平台实际收取金额
|
|
|
+ * realCost?: number
|
|
|
+ * // 平台总服务费
|
|
|
+ * realServiceCost?: number
|
|
|
+ * // 预充值金额
|
|
|
+ * preAmt?: number
|
|
|
+ * // 充电设备接口编码
|
|
|
+ * connectorId?: string
|
|
|
+ * chargeOrderId?: string
|
|
|
+ * // 电站名称
|
|
|
+ * powerStationName?: string
|
|
|
+ * // 三方电费
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 充电度数
|
|
|
+ * totalPower?: number
|
|
|
+ * // 0:用户手动停止充电;1:客户归属地运营商平台停止充电;2:BMS停止充电;3:充电机设备故障;4:连接器断开;其它:自定义
|
|
|
+ * stopMethod?: number
|
|
|
+ * }
|
|
|
+ * yppDetail?: {
|
|
|
+ * key?: object
|
|
|
+ * }
|
|
|
+ * // 会员昵称
|
|
|
+ * memberNickName?: string
|
|
|
+ * // 会员真实姓名
|
|
|
+ * memberRealName?: string
|
|
|
+ * // 会员电话
|
|
|
+ * memberMobile?: string
|
|
|
+ * // 记录
|
|
|
+ * // [items] start
|
|
|
+ * // [items] end
|
|
|
+ * djkOrderLogList?: Array<{
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订单号
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 操作
|
|
|
+ * operation?: string
|
|
|
+ * // 操作员
|
|
|
+ * operator?: string
|
|
|
+ * // 订单备注
|
|
|
+ * remark?: string
|
|
|
+ * }>
|
|
|
+ * virtualOrderItem?: {
|
|
|
+ * createTime?: string
|
|
|
+ * updateTime?: string
|
|
|
+ * // 订购流水号,关联主订单
|
|
|
+ * orderNumber?: string
|
|
|
+ * // 用户ID
|
|
|
+ * memberId?: number
|
|
|
+ * // 渠道ID
|
|
|
+ * channelId?: number
|
|
|
+ * // 商品编号(本地pms_video_product.product_number)
|
|
|
+ * productNumber?: string
|
|
|
+ * // 第三方商品编码(pms_video_product.product_id)
|
|
|
+ * productId?: string
|
|
|
+ * // 商品名称
|
|
|
+ * productName?: string
|
|
|
+ * // 商品类型:卡密/直充
|
|
|
+ * productType?: string
|
|
|
+ * // 面值
|
|
|
+ * faceValue?: number
|
|
|
+ * // 采购价(成本)
|
|
|
+ * purchasePrice?: number
|
|
|
+ * // 销售价(从pms_video_channel_price获取)
|
|
|
+ * sellPrice?: number
|
|
|
+ * // 充值账号(直充类)
|
|
|
+ * rechargeAccount?: string
|
|
|
+ * // 账号类型:1手机号 2QQ号 0其他
|
|
|
+ * accountType?: number
|
|
|
+ * // 充值状态:0待处理 1处理中 2成功 3失败
|
|
|
+ * rechargeStatus?: number
|
|
|
+ * // 第三方平台订单号
|
|
|
+ * thirdOrderNo?: string
|
|
|
+ * // 卡密信息JSON(卡密类商品,需解密)
|
|
|
+ * cardInfo?: string
|
|
|
+ * // 第三方接口原始返回JSON
|
|
|
+ * thirdResponse?: string
|
|
|
+ * }
|
|
|
+ * // 优惠券ID
|
|
|
+ * couponId?: string
|
|
|
+ * // 1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * oilOrderStatus?: number
|
|
|
+ * // 订单平台类型(0-小程序 1-TV)
|
|
|
+ * orderPlatformType?: number
|
|
|
+ * // 订单过期时间
|
|
|
+ * expireTime?: string
|
|
|
+ * // 是否可核销,0:不可核销操作,1:可进行核销操作
|
|
|
+ * isWriteOff?: number
|
|
|
+ * shopInfo?: {
|
|
|
+ * // 门店id
|
|
|
+ * shopId?: number
|
|
|
+ * // shop_logo
|
|
|
+ * shopLogo?: string
|
|
|
+ * // 门店名称
|
|
|
+ * shopName?: string
|
|
|
+ * // shop_lat
|
|
|
+ * shopLat?: number
|
|
|
+ * // shop_lng
|
|
|
+ * shopLng?: number
|
|
|
+ * // tel
|
|
|
+ * tel?: string
|
|
|
+ * }
|
|
|
+ * omsOrderOilVO?: {
|
|
|
+ * // 小桔订单号
|
|
|
+ * xjOrderId?: string
|
|
|
+ * // 门店ID
|
|
|
+ * storeId?: string
|
|
|
+ * // 门店名称
|
|
|
+ * storeName?: string
|
|
|
+ * // 城市名称
|
|
|
+ * cityName?: string
|
|
|
+ * // 枪号
|
|
|
+ * gunNo?: string
|
|
|
+ * // 商品名称(油品名称)
|
|
|
+ * itemName?: string
|
|
|
+ * // 油号id
|
|
|
+ * itemId?: number
|
|
|
+ * // 商品升数
|
|
|
+ * quantity?: number
|
|
|
+ * // 订单金额(单位:分)
|
|
|
+ * totalMoney?: number
|
|
|
+ * // 实付金额(单位:分)
|
|
|
+ * realMoney?: number
|
|
|
+ * // 订单状态:1-待支付,2-已支付,6-已退款,9-已取消
|
|
|
+ * orderStatus?: number
|
|
|
+ * // 支付时间
|
|
|
+ * payTime?: string
|
|
|
+ * // 退款时间
|
|
|
+ * refundTime?: string
|
|
|
+ * // 服务费
|
|
|
+ * serviceFee?: number
|
|
|
+ * // 优惠减免金额
|
|
|
+ * promotionAmount?: number
|
|
|
+ * // 发改委价格、国标价
|
|
|
+ * cityPrice?: number
|
|
|
+ * // 门店价、油枪价、油机价
|
|
|
+ * storePrice?: number
|
|
|
+ * // 品牌名称
|
|
|
+ * brandName?: string
|
|
|
+ * // 油站地址
|
|
|
+ * address?: string
|
|
|
+ * // 优惠卷名称
|
|
|
+ * activityName?: string
|
|
|
+ * // 优惠卷id
|
|
|
+ * allowanceId?: string
|
|
|
+ * // 小桔H5支付地址
|
|
|
+ * payUrl?: string
|
|
|
+ * // 小桔价、折扣价、优惠价
|
|
|
+ * vipPrice?: number
|
|
|
+ * }
|
|
|
+ * }
|
|
|
+ * msg?: string
|
|
|
+ * }
|
|
|
+ * ```
|
|
|
+ */
|
|
|
+ get_api_v1_order_orderinfo<
|
|
|
+ Config extends Alova2MethodConfig<ResultOmsOrder> & {
|
|
|
+ params: {
|
|
|
+ orderNo?: string;
|
|
|
+ };
|
|
|
+ }
|
|
|
+ >(
|
|
|
+ config: Config
|
|
|
+ ): Alova2Method<ResultOmsOrder, 'general.get_api_v1_order_orderinfo', Config>;
|
|
|
+ };
|
|
|
}
|
|
|
}
|
|
|
var Apis: Apis;
|