- 接口说明:
- Retrofit接口写法:
//发送验证码
@GET("/auth/sms/{phone}/{type}")
Observable<MalvernResponse> sendSms(@Path("phone") String phone, @Path("type") int type);
//发送验证码
@GET("/auth/sms/{phone}/{type}")
Observable<MalvernResponse> sendSms(@Path("phone") String phone, @Path("type") int type);