@@ -100,9 +100,11 @@ class TaskProc {
break;
}
- $str = "5," . $point;
- StoreProc::$reward[] = $str;
-
+ if($point != 0){
+ $str = "5," . $point;
+ StoreProc::$reward[] = $str;
+ }
+
UserProc::updateUserInfo();
return Resp::ok(array("task" => ctx()->task,
"store" => ctx()->store,