|
@@ -389,12 +389,13 @@ public:
|
|
|
Json::Value operationData;
|
|
|
Reader.parse(root[i]["operation_data"].asString(), operationData);
|
|
|
int seconds = operationData["seconds"].asInt();
|
|
|
- if (now - root[i]["start_time"].asInt() > seconds) {
|
|
|
+
|
|
|
+ if (now - root[i]["start_time"].asInt() < seconds) {
|
|
|
setPromptTimeItId(root[i]["id"].asInt());
|
|
|
|
|
|
Intent* intent = new Intent();
|
|
|
intent->putExtra(promptText2, operationData["tips"].asString());
|
|
|
- intent->putExtra(promptTime2, to_string(seconds));
|
|
|
+ intent->putExtra(promptTime2, to_string(seconds - (now - root[i]["start_time"].asInt())));
|
|
|
EASYUICONTEXT->openActivity("promptActivity", intent);
|
|
|
}
|
|
|
else {
|