Explorar o código

for new pay page

hanjing %!s(int64=6) %!d(string=hai) anos
pai
achega
cd4524da43

+ 2 - 2
app/src/main/java/com/sheep/gamegroup/di/modules/NetModule.java

@@ -49,8 +49,8 @@ public class NetModule {
     public Retrofit provideRetrofit(OkHttpClient okhttpClient) {
         Retrofit retrofit = new Retrofit.Builder()
                 .client(okhttpClient)
-//                .baseUrl(SheepApp.getInstance().getConnectAddress().getAppUrl()+"v1/")
-                .baseUrl("http://ss.17xmy.com/v1/")
+                .baseUrl(SheepApp.getInstance().getConnectAddress().getAppUrl()+"v1/")
+//                .baseUrl("http://ss.17xmy.com/v1/")
 //                .baseUrl("http://10.8.220.239:8080/v1/")
 //                .baseUrl("http://10.8.240.193:8080/v1/")
                 .addConverterFactory(StringConverterFactory.create())

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/util/js/KFZSJs.java

@@ -886,7 +886,7 @@ public class KFZSJs {
 
     @JavascriptInterface
     public void discountRechargeBack(String packageName) {
-        ComponentName appName = new ComponentName(packageName, "com.yog.kothoth.view.activity.SSRechargeActivity");
+        ComponentName appName = new ComponentName(packageName, "com.yog.kothoth.view.activity.SSPaymentActivity");
         Intent intent = new Intent();
         intent.setComponent(appName);
         intent.putExtra("action", 777);

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/view/activity/ActPay.java

@@ -236,7 +236,7 @@ public class ActPay extends BaseActivity {
     }
 
     private void sdkCallback() {
-//        ComponentName appName = new ComponentName(from_package, "com.yog.kothoth.view.activity.SSRechargeActivity");
+//        ComponentName appName = new ComponentName(from_package, "com.yog.kothoth.view.activity.SSPaymentActivity");
 //        Intent intent = new Intent();
 //        intent.setComponent(appName);
 //        intent.putExtra("orderno", order_no);

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/view/activity/RechargeResultAct.java

@@ -83,7 +83,7 @@ public class RechargeResultAct extends BaseActivity {
     @Override
     public void finish() {
         if (!TextUtils.isEmpty(gowhere)) {
-            ComponentName appName = new ComponentName(gowhere, "com.yog.kothoth.view.activity.SSRechargeActivity");
+            ComponentName appName = new ComponentName(gowhere, "com.yog.kothoth.view.activity.SSPaymentActivity");
             Intent intent = new Intent();
             intent.setComponent(appName);
             intent.putExtra("action", TextUtils.isEmpty(orderno) ? 777 : 666);

+ 2 - 2
app/src/main/java/com/sheep/jiuyan/samllsheep/Config.java

@@ -111,8 +111,8 @@ public class Config {
         initSMALL_STATION_URL();
     }
     public static void initSMALL_STATION_URL(){
-//        SMALL_STATION_URL = TextUtils.equals(SheepApp.getInstance().getConnectAddress().name(), "sheep") ? SMALL_STATION_URL_SHEEP : SMALL_STATION_URL_TEST;
-        SMALL_STATION_URL = SMALL_STATION_URL_SHEEP;
+        SMALL_STATION_URL = TextUtils.equals(SheepApp.getInstance().getConnectAddress().name(), "sheep") ? SMALL_STATION_URL_SHEEP : SMALL_STATION_URL_TEST;
+//        SMALL_STATION_URL = SMALL_STATION_URL_SHEEP;
     }
     public static String getUrlByPath(String path, Object...query){
         String url = SMALL_STATION_URL + path;