|
|
@@ -18,12 +18,15 @@ import com.sheep.gamegroup.util.CommonUtil;
|
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
|
import com.sheep.gamegroup.util.LogUtil;
|
|
|
import com.sheep.gamegroup.util.TestUtil;
|
|
|
+import com.sheep.jiuyan.samllsheep.BuildConfig;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
import com.sheep.jiuyan.samllsheep.bean.UserCenterModule;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.G;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.PackageUtil;
|
|
|
|
|
|
+import java.util.Locale;
|
|
|
+
|
|
|
/**
|
|
|
* Created by realicing on 2018/5/10.
|
|
|
* realicing@sina.com
|
|
|
@@ -135,12 +138,12 @@ public class MiddleSchemeAct extends Activity {
|
|
|
runApp(activity, packageName, className);
|
|
|
}
|
|
|
break;
|
|
|
- //sheep://small.kfzs.com/xmy?type=cc
|
|
|
- case "check_copy":
|
|
|
- case "cc":
|
|
|
-// ActionUtil.getInstance().addNextAction(ActMain.class.getSimpleName(), MainAction.CHECK_COPY);
|
|
|
-// tryGoSplashAct(activity, uri);
|
|
|
- CommonUtil.getInstance().checkCopyText();
|
|
|
+ //sheep://small.kfzs.com/xmy?type=po&a=6506346179440152576&b=1
|
|
|
+ case "placing-orders":
|
|
|
+ case "po":
|
|
|
+ String order_no = uri.getQueryParameter("a");
|
|
|
+ String merchandise_id = uri.getQueryParameter("b");
|
|
|
+ Jump2View.getInstance().goWeb(activity, String.format(Locale.CHINA, "http://%s/#/placing-orders/%s?merchandise_id=%s", TextUtils.equals("sheep", BuildConfig.FLAVOR) ? "smallstation.kfzs.com/iqiyi_vip_member" : "10.8.220.248:8080", order_no, merchandise_id));
|
|
|
break;
|
|
|
}
|
|
|
// LogUtil.println("ActMain", "checkScheme","url: " + url);
|