rabin 3 年之前
父節點
當前提交
1dea6b1d1f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      lib/Manage.php

+ 3 - 1
lib/Manage.php

@@ -53,7 +53,9 @@ class Manage
                     Dever::db('area/city')->update($update);
                 }
             }
-            $this->setTown_api();
+            if ($id == 1) {
+                $this->setTown_api();
+            }
         }
     }