|
@@ -52,6 +52,7 @@ import com.sheep.gamegroup.module.login.ChangePasswordAct;
|
|
|
import com.sheep.gamegroup.module.login.LoginAct;
|
|
import com.sheep.gamegroup.module.login.LoginAct;
|
|
|
import com.sheep.gamegroup.module.plugin.model.Plugin;
|
|
import com.sheep.gamegroup.module.plugin.model.Plugin;
|
|
|
import com.sheep.gamegroup.module.plugin.util.SheepPluginUtil;
|
|
import com.sheep.gamegroup.module.plugin.util.SheepPluginUtil;
|
|
|
|
|
+import com.sheep.gamegroup.module.user.activity.ActVip;
|
|
|
import com.sheep.gamegroup.module.yf_shop.model.ReceiveCouponsCheckResq;
|
|
import com.sheep.gamegroup.module.yf_shop.model.ReceiveCouponsCheckResq;
|
|
|
import com.sheep.gamegroup.util.share.ShareLinkConfig;
|
|
import com.sheep.gamegroup.util.share.ShareLinkConfig;
|
|
|
import com.sheep.gamegroup.view.activity.ActApprenticeRedPacket;
|
|
import com.sheep.gamegroup.view.activity.ActApprenticeRedPacket;
|
|
@@ -144,6 +145,7 @@ import com.sheep.gamegroup.view.activity.WithdrawalResultAct;
|
|
|
import com.sheep.gamegroup.view.dialog.DialogNewbieTask1;
|
|
import com.sheep.gamegroup.view.dialog.DialogNewbieTask1;
|
|
|
import com.sheep.gamegroup.view.dialog.DialogNewbieTaskRegisterSuccess;
|
|
import com.sheep.gamegroup.view.dialog.DialogNewbieTaskRegisterSuccess;
|
|
|
import com.sheep.jiuyan.samllsheep.BuildConfig;
|
|
import com.sheep.jiuyan.samllsheep.BuildConfig;
|
|
|
|
|
+import com.sheep.jiuyan.samllsheep.Config;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
import com.sheep.jiuyan.samllsheep.service.AutoCheckService;
|
|
import com.sheep.jiuyan.samllsheep.service.AutoCheckService;
|
|
@@ -168,7 +170,6 @@ import java.util.List;
|
|
|
import java.util.Locale;
|
|
import java.util.Locale;
|
|
|
|
|
|
|
|
import io.reactivex.Observable;
|
|
import io.reactivex.Observable;
|
|
|
-import io.reactivex.ObservableEmitter;
|
|
|
|
|
import io.reactivex.ObservableOnSubscribe;
|
|
import io.reactivex.ObservableOnSubscribe;
|
|
|
import io.reactivex.ObservableSource;
|
|
import io.reactivex.ObservableSource;
|
|
|
import io.reactivex.android.schedulers.AndroidSchedulers;
|
|
import io.reactivex.android.schedulers.AndroidSchedulers;
|
|
@@ -178,8 +179,6 @@ import me.iwf.photopicker.PhotoPicker;
|
|
|
import me.iwf.photopicker.PhotoPreview;
|
|
import me.iwf.photopicker.PhotoPreview;
|
|
|
import rx.functions.Action1;
|
|
import rx.functions.Action1;
|
|
|
|
|
|
|
|
-import static com.sheep.gamegroup.util.CommonUtil.LONG_MAO_APP_PACKAGE_NAME;
|
|
|
|
|
-import static com.sheep.gamegroup.util.CommonUtil.LONG_MAO_APP_URI;
|
|
|
|
|
import static com.sheep.gamegroup.util.UMConfigUtils.Event.ASK_MAKE_MONEY_INVITATION;
|
|
import static com.sheep.gamegroup.util.UMConfigUtils.Event.ASK_MAKE_MONEY_INVITATION;
|
|
|
import static com.sheep.gamegroup.util.UMConfigUtils.Event.FIND_ITEM;
|
|
import static com.sheep.gamegroup.util.UMConfigUtils.Event.FIND_ITEM;
|
|
|
import static com.sheep.gamegroup.util.UMConfigUtils.Event.GAME_DOWNLOAD_WELFARE_LIST;
|
|
import static com.sheep.gamegroup.util.UMConfigUtils.Event.GAME_DOWNLOAD_WELFARE_LIST;
|
|
@@ -2496,23 +2495,24 @@ public class Jump2View {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 跳转VIP介绍界面
|
|
|
|
|
|
|
+ * 小绵羊3.4.7新增 -- 跳转VIP介绍界面
|
|
|
* @param activity
|
|
* @param activity
|
|
|
*/
|
|
*/
|
|
|
public void goActVip(Activity activity) {
|
|
public void goActVip(Activity activity) {
|
|
|
-
|
|
|
|
|
|
|
+ Intent intent = new Intent(activity, ActVip.class);
|
|
|
|
|
+ activity.startActivity(intent);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 跳转龙猫界面
|
|
|
|
|
|
|
+ * 小绵羊3.4.7新增 -- 跳转龙猫界面
|
|
|
* @param activity
|
|
* @param activity
|
|
|
*/
|
|
*/
|
|
|
public boolean gotoLongMao(Activity activity) {
|
|
public boolean gotoLongMao(Activity activity) {
|
|
|
try {
|
|
try {
|
|
|
- PackageUtil.startApp(SheepApp.getInstance(), LONG_MAO_APP_PACKAGE_NAME);
|
|
|
|
|
|
|
+ PackageUtil.startApp(SheepApp.getInstance(), Config.LONG_MAO_APP_PACKAGE_NAME);
|
|
|
} catch (Exception ignore) {
|
|
} catch (Exception ignore) {
|
|
|
try {
|
|
try {
|
|
|
- Intent intent = Intent.parseUri(LONG_MAO_APP_URI, Intent.URI_INTENT_SCHEME);
|
|
|
|
|
|
|
+ Intent intent = Intent.parseUri(Config.LONG_MAO_APP_URI, Intent.URI_INTENT_SCHEME);
|
|
|
intent.setComponent(null);
|
|
intent.setComponent(null);
|
|
|
activity.startActivity(intent);
|
|
activity.startActivity(intent);
|
|
|
} catch (Exception ignore2) {
|
|
} catch (Exception ignore2) {
|
|
@@ -2523,10 +2523,10 @@ public class Jump2View {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 跳转商城优惠购物界面
|
|
|
|
|
|
|
+ * 小绵羊3.4.7新增 -- 跳转商城优惠购物界面
|
|
|
* @param activity
|
|
* @param activity
|
|
|
*/
|
|
*/
|
|
|
public void gotoYfShop(Activity activity) {
|
|
public void gotoYfShop(Activity activity) {
|
|
|
-
|
|
|
|
|
|
|
+ goWeb(activity, Config.YF_SHOP_HOME, Config.YF_SHOP_NAME);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|