Skip to content

当post请求参数为空时,公共参数不起作用 #8

@shenyunhuan

Description

@shenyunhuan

@post("finance/getCoinPrice.do")
Observable<BaseEntity> getCoinPrice();

我的解决办法是加个假参数
@FormUrlEncoded
@post("finance/getCoinPrice.do")
Observable<BaseEntity> getCoinPrice(@field("aaa") int aaa);
请教这种请求该怎么写?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions