fix: 处理合并冲突
This commit is contained in:
@ -25,7 +25,6 @@ import com.gh.gamecenter.entity.PackageDialogEntity;
|
||||
import com.gh.gamecenter.entity.SpecialColumn;
|
||||
import com.gh.gamecenter.entity.StartupAdEntity;
|
||||
import com.gh.gamecenter.login.user.UserManager;
|
||||
import com.gh.gamecenter.manager.CommunityManager;
|
||||
import com.gh.gamecenter.qa.entity.Questions;
|
||||
import com.halo.assistant.HaloApp;
|
||||
import com.lightgame.utils.Utils;
|
||||
@ -159,37 +158,6 @@ public class LogUtils {
|
||||
uploadToCommunity(object);
|
||||
}
|
||||
|
||||
public static void uploadSearch(String searchKey) {
|
||||
if (TextUtils.isEmpty(searchKey)) return;
|
||||
|
||||
JSONObject object = new JSONObject();
|
||||
try {
|
||||
object.put("community_id", CommunityManager.getInstance().getCommunity().getId());
|
||||
object.put("community_name", CommunityManager.getInstance().getCommunity().getName());
|
||||
object.put("keyword", searchKey);
|
||||
object.put("subject", "search");
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
uploadToCommunity(object);
|
||||
}
|
||||
|
||||
public static void communityRefresh(int dataCount, boolean manualRefresh) {
|
||||
JSONObject object = new JSONObject();
|
||||
try {
|
||||
object.put("subject", "community_refresh");
|
||||
object.put("community_id", CommunityManager.getInstance().getCommunity().getId());
|
||||
object.put("refresh_type", "recommend");
|
||||
object.put("refresh_way", manualRefresh ? "manual" : "auto");
|
||||
object.put("data_count", dataCount);
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
uploadToCommunity(object);
|
||||
}
|
||||
|
||||
public static void login(String loginStep, String loginType, String entrance) {
|
||||
JSONObject object = new JSONObject();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user