|
|
@@ -90,17 +90,17 @@ public class OnlineDataProvider extends com.usai.redant.rautils.utils.Network
|
|
|
|
|
|
|
|
|
// URL
|
|
|
- public static String URL_LOGIN = BASE_URL+"/loginMobile.php";
|
|
|
- public static String URL_CHANGE_PASS = BASE_URL+"/loginMobile.php";
|
|
|
- public static String URL_LOGOUT = BASE_URL+"/loginMobile.php";
|
|
|
- public static String URL_RETRIEVE_PASS = BASE_URL+"/loginMobile.php";
|
|
|
- public static String URL_SIGNUP = BASE_URL+"/loginMobile.php";
|
|
|
+ public static String URL_LOGIN = BASE_URL+"/loginMobile_v1.php";
|
|
|
+ public static String URL_CHANGE_PASS = BASE_URL+"/loginMobile_v1.php";
|
|
|
+ public static String URL_LOGOUT = BASE_URL+"/loginMobile_v1.php";
|
|
|
+ public static String URL_RETRIEVE_PASS = BASE_URL+"/loginMobile_v1.php";
|
|
|
+ public static String URL_SIGNUP = BASE_URL+"/loginMobile_v1.php";
|
|
|
|
|
|
|
|
|
- public static String URL_HOME = BASE_URL+"/mobileMain.php";
|
|
|
- public static String URL_SEARCH_RESULT = BASE_URL+"/resultMobile.php";
|
|
|
+ public static String URL_HOME = BASE_URL+"/mobileMain_v1.php";
|
|
|
+ public static String URL_SEARCH_RESULT = BASE_URL+"/resultMobile_v1.php";
|
|
|
|
|
|
- public static String URL_REQUEST_DETAIL = BASE_URL+"/resultMobile.php";
|
|
|
+ public static String URL_REQUEST_DETAIL = BASE_URL+"/resultMobile_v1.php";
|
|
|
|
|
|
public static String URL_UPLOAD_IMG = BASE_URL+"";
|
|
|
public static String URL_SAVE_EDITOR = BASE_URL+"/editorMobile_v1.php";
|
|
|
@@ -141,6 +141,12 @@ public class OnlineDataProvider extends com.usai.redant.rautils.utils.Network
|
|
|
//
|
|
|
|
|
|
|
|
|
+ public static JSONObject request_editor(String request_url,Bundle params) {
|
|
|
+
|
|
|
+ String jstr = getJson(request_url,params);
|
|
|
+
|
|
|
+ return handleJson(jstr);
|
|
|
+ }
|
|
|
public static JSONObject request_login(String user, String password)
|
|
|
{
|
|
|
|