// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/ActivityInfo.java
// public class ActivityInfo {
// }
// 
// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/BaseResponse.java
// public class BaseResponse<T> {
// 
//     private int status_code;
//     private String status_msg;
//     private T data;
// 
// 
//     public int getStatus_code() {
//         return status_code;
//     }
// 
//     public void setStatus_code(int status_code) {
//         this.status_code = status_code;
//     }
// 
//     public String getStatus_msg() {
//         return status_msg;
//     }
// 
//     public void setStatus_msg(String status_msg) {
//         this.status_msg = status_msg;
//     }
// 
//     public T getData() {
//         return data;
//     }
// 
//     public void setData(T data) {
//         this.data = data;
//     }
// }
// 
// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/CommonInfo.java
// public class CommonInfo {
// }
// 
// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/User.java
// public class User {
// }


import com.zhy.authproject.data.remote.model.ActivityInfo;
import com.zhy.authproject.data.remote.model.BaseResponse;
import com.zhy.authproject.data.remote.model.CommonInfo;
import com.zhy.authproject.data.remote.model.User;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Observable;
package com.zhy.authproject.data.remote;




/**
 * Created by zhanghaoye on 10/29/16.
 */

public interface ApiService {
    String SERVER_URL = "http://127.0.0.1:3000/";

    @FormUrlEncoded
    @POST("/api/v1/authproject/login")
// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/ActivityInfo.java
// public class ActivityInfo {
// }
// 
// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/BaseResponse.java
// public class BaseResponse<T> {
// 
//     private int status_code;
//     private String status_msg;
//     private T data;
// 
// 
//     public int getStatus_code() {
//         return status_code;
//     }
// 
//     public void setStatus_code(int status_code) {
//         this.status_code = status_code;
//     }
// 
//     public String getStatus_msg() {
//         return status_msg;
//     }
// 
//     public void setStatus_msg(String status_msg) {
//         this.status_msg = status_msg;
//     }
// 
//     public T getData() {
//         return data;
//     }
// 
//     public void setData(T data) {
//         this.data = data;
//     }
// }
// 
// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/CommonInfo.java
// public class CommonInfo {
// }
// 
// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/model/User.java
// public class User {
// }


// Path: AuthProject/app/src/main/java/com/zhy/authproject/data/remote/ApiService.java
import com.zhy.authproject.data.remote.model.ActivityInfo;
import com.zhy.authproject.data.remote.model.BaseResponse;
import com.zhy.authproject.data.remote.model.CommonInfo;
import com.zhy.authproject.data.remote.model.User;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Observable;

package com.zhy.authproject.data.remote;




/**
 * Created by zhanghaoye on 10/29/16.
 */

public interface ApiService {
    String SERVER_URL = "http://127.0.0.1:3000/";

    @FormUrlEncoded
    @POST("/api/v1/authproject/login")
    Observable<BaseResponse<User>> login(@Field("phone") String username, @Field("password") String password);