示例#1
0
# 用户提现订单列表
#################################################

QueryWithdrawOrderListDoc = api.model(
    'QueryWithdrawOrderListDoc', {
        'order_id':
        fields.String(
            required=False,
            description='商户订单号/系统订单号',
            example="TEXT|XXXXX|XXXXXX",
        ),
        'merchant_name':
        fields.String(
            required=False,
            description='商户名称',
            example=MerchantEnum.description_name_desc() + ", 空字符串则为全部",
        ),
        'channel':
        fields.String(
            required=False,
            description='通道名称',
            example=ChannelConfigEnum.get_name_list(),
        ),
        'page_size':
        fields.Integer(
            required=True,
            description='单页数据条数',
            example=10,
        ),
        'page_index':
        fields.Integer(
示例#2
0
        description="输出方案",
    ),
    'interface': fields.Nested(
        DescNamePair,
        description="接入类型",
    ),
    'amount_min': fields.String(
        description='交易金额最小值',
        example="5000.00"
    ),
    'amount_max': fields.String(
        description='交易金额最大值',
        example="10000.00"
    ),
    'merchants': fields.List(fields.String(
        description=MerchantEnum.description_name_desc(),
        example=MerchantEnum.TEST.name,
    )),
    'uid_list': fields.List(fields.Integer(
        description='用户ID',
        example=1,
    )),
    "create_time": fields.String(
        description="创建时间",
    )
})

RuleList = api.model('RuleList', {
    'counts': fields.Integer(
        required=True,
        description='引导规则总个数',