APP统计-应用数据, 数据库升级适配
This commit is contained in:
@ -21,7 +21,7 @@ import org.json.JSONObject;
|
||||
*/
|
||||
public class LogUtils {
|
||||
|
||||
public static void uploadDevice(LunchType launchType) { // todo 对接数据
|
||||
public static void uploadDevice(LunchType launchType) {
|
||||
JSONObject object = new JSONObject();
|
||||
Application application = HaloApp.getInstance().getApplication();
|
||||
try {
|
||||
@ -59,7 +59,7 @@ public class LogUtils {
|
||||
public static void uploadQuestionReadTime(String tracers, int readTime, Questions questions) {
|
||||
JSONObject object = new JSONObject();
|
||||
try {
|
||||
object.put("subject", "answer");
|
||||
object.put("subject", "question");
|
||||
object.put("community_id", UserManager.getInstance().getCommunity().getId());
|
||||
object.put("community_name", UserManager.getInstance().getCommunity().getName());
|
||||
object.put("question_id", questions.getId());
|
||||
|
||||
Reference in New Issue
Block a user