Commit 317ae524 authored by reynaldi adriantama's avatar reynaldi adriantama

commit sql

parent a22bcb5a
...@@ -1870,6 +1870,7 @@ public function totallocation($idweb){ ...@@ -1870,6 +1870,7 @@ public function totallocation($idweb){
array_push($listdata, $val); array_push($listdata, $val);
} }
if ($listdata) { if ($listdata) {
$result->code = 0; $result->code = 0;
$result->info = 'OK'; $result->info = 'OK';
...@@ -1877,6 +1878,7 @@ public function totallocation($idweb){ ...@@ -1877,6 +1878,7 @@ public function totallocation($idweb){
} else { } else {
$result->code = 1; $result->code = 1;
$result->info = 'Seq error'; $result->info = 'Seq error';
$result->data = 0;
} }
return $result; return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment