Browse Source

完成土地灾害发生逻辑和种子生长过程逻辑

chendeng 3 years ago
parent
commit
3cae8104d6

+ 28 - 3
.idea/workspace.xml

@@ -1,7 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="ChangeListManager">
-    <list default="true" id="ff409d53-a0e4-4d82-ba6e-334a56238445" name="Changes" comment="" />
+    <list default="true" id="ff409d53-a0e4-4d82-ba6e-334a56238445" name="Changes" comment="add">
+      <change afterPath="$PROJECT_DIR$/src/app/Domain/Setup.php" afterDir="false" />
+      <change afterPath="$PROJECT_DIR$/src/app/Model/Disaster.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/log/202206/20220609.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/202206/20220609.log" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/log/202206/error_20220609.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/202206/error_20220609.log" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/log/202206/notice_20220609.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/202206/notice_20220609.log" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/log/202206/warning_20220609.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/202206/warning_20220609.log" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/app/Api/Land.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/Api/Land.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/app/Api/User.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/Api/User.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/app/Common/Tools.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/Common/Tools.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/app/Domain/Land.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/Domain/Land.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/app/Domain/Seed.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/Domain/Seed.php" afterDir="false" />
+    </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -12,7 +25,7 @@
     <execution />
   </component>
   <component name="Git.Settings">
-    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/phalapi" />
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
   </component>
   <component name="MarkdownSettingsMigration">
     <option name="stateVersion" value="1" />
@@ -50,6 +63,8 @@
       <path value="$PROJECT_DIR$/vendor/phalapi/notorm" />
       <path value="$PROJECT_DIR$/vendor/vlucas/phpdotenv" />
       <path value="$PROJECT_DIR$/vendor/symfony/polyfill-ctype" />
+      <path value="$PROJECT_DIR$/vendor/phalapi/ucloud" />
+      <path value="$PROJECT_DIR$/vendor/xuepengdong/phalapiredis" />
     </include_path>
   </component>
   <component name="ProjectId" id="2ABtagLOZ4tYlylLNpXWdpqo3zQ" />
@@ -63,11 +78,14 @@
     &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
     &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
     &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
-    &quot;last_opened_file_path&quot;: &quot;/Users/chendeng/code/work/farm/gameApi&quot;,
+    &quot;last_opened_file_path&quot;: &quot;/Users/chendeng/code/work/farm/gameApi/src/app/Model&quot;,
     &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
   }
 }</component>
   <component name="RecentsManager">
+    <key name="CopyFile.RECENT_KEYS">
+      <recent name="$PROJECT_DIR$/src/app/Model" />
+    </key>
     <key name="MoveFile.RECENT_KEYS">
       <recent name="$PROJECT_DIR$/public" />
       <recent name="$PROJECT_DIR$" />
@@ -85,6 +103,9 @@
       <workItem from="1654501878524" duration="2736000" />
       <workItem from="1654507200773" duration="2556000" />
       <workItem from="1654510252302" duration="12373000" />
+      <workItem from="1654782464478" duration="1452000" />
+      <workItem from="1654823010308" duration="24420000" />
+      <workItem from="1654865791556" duration="8229000" />
     </task>
     <servers />
   </component>
@@ -102,4 +123,8 @@
       </map>
     </option>
   </component>
+  <component name="VcsManagerConfiguration">
+    <MESSAGE value="add" />
+    <option name="LAST_COMMIT_MESSAGE" value="add" />
+  </component>
 </project>

+ 153 - 0
runtime/log/202206/20220609.log

@@ -209,3 +209,156 @@ Stack trace:
 #8 {main}
 2022-06-09 05:29:37|SQL|[#1 - 5.33ms - SQL]/Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Domain/Land.php(56):    PhalApi\Model\DataModel::executeSql()    user_land    UPDATE user_land SET ul_seed_iswithered = 0 WHERE ul_user_id = '100011' AND ul_land = '1';|{"request":{"service":"App.Land.Eradicate"}}
 2022-06-09 05:29:55|SQL|[#1 - 1.01ms - SQL]/Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Domain/Land.php(56):    PhalApi\Model\DataModel::executeSql()    user_land    UPDATE user_land SET ul_seed_iswithered = 0 WHERE ul_user_id = '100011' AND ul_land = '1';|{"request":{"service":"App.Land.Eradicate"}}
+2022-06-09 18:53:20|SQL|[#1 - 21.1ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#2 - 5.8ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(50):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_invitation = '44515';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#3 - 12.83ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(181):    PhalApi\Model\DataModel::queryAll()    user    SELECT invitation_id FROM invitation WHERE invitation_code = '256931';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#4 - 13.41ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(184):    PhalApi\Model\DataModel::insert()    invitation    INSERT  INTO invitation (`invitation_code`) VALUES ('256931');|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#5 - 6.03ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(118):    PhalApi\Model\DataModel::insert()    user    INSERT  INTO user (`user_chain`, `user_wallet_address`, `user_invitation`, `user_invite_invitation`, `user_gold_amount`, `user_usdt_amount`, `user_house_level`, `user_package_enable`, `user_feeze_amount`, `user_reg_ip`, `user_enable`, `user_wood`, `user_stone`, `user_steel`, `user_is_illegal`, `user_type`) VALUES ('1', '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD', '256931', '44515', 0, 0, 1, '1', 0, '127.0.0.1', '1', 0, 0, 0, 0, 0);|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#6 - 0.99ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(162):    PhalApi\Model\DataModel::queryAll()    user    SELECT * FROM user WHERE user_id = 100012;|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#7 - 1.53ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(123):    PhalApi\Model\DataModel::executeSql()    user    UPDATE user SET user_nickname = '地主100012', user_checksum = '20545182' WHERE user_id = '100012';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#8 - 7.65ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(147):    PhalApi\Model\DataModel::insert()    friend    INSERT  INTO friend (`friend_user_id_1`, `friend_user_id_2`) VALUES (100012, 100000);|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|SQL|[#9 - 0.63ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(153):    PhalApi\Model\DataModel::insert()    friend    INSERT  INTO friend (`friend_user_id_1`, `friend_user_id_2`) VALUES (100000, 100012);|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:53:20|ERROR|App.User.Register|PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'i' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236
+Stack trace:
+#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')
+#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)
+#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(414): NotORM_Result->insert_multi(Array)
+#3 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/NotORMModel.php(44): NotORM_Result->insert(Array)
+#4 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(272): PhalApi\Model\NotORMModel->insert(Array, NULL)
+#5 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(25): PhalApi\Model\DataModel->insert(Array)
+#6 /Users/chendeng/code/work/farm/gameApi/src/app/Api/User.php(103): App\Domain\Land->insertLand(Array)
+#7 [internal function]: App\Api\User->register()
+#8 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)
+#9 /Users/chendeng/code/work/farm/gameApi/public/index.php(10): PhalApi\PhalApi->response()
+#10 {main}
+2022-06-09 18:54:07|SQL|[#1 - 1.12ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:54:53|SQL|[#1 - 1.01ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:54:53|ERROR|App.User.Register|PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'i' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236
+Stack trace:
+#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')
+#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)
+#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(414): NotORM_Result->insert_multi(Array)
+#3 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/NotORMModel.php(44): NotORM_Result->insert(Array)
+#4 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(272): PhalApi\Model\NotORMModel->insert(Array, NULL)
+#5 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(26): PhalApi\Model\DataModel->insert(Array)
+#6 /Users/chendeng/code/work/farm/gameApi/src/app/Api/User.php(103): App\Domain\Land->insertLand(Array)
+#7 [internal function]: App\Api\User->register()
+#8 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)
+#9 /Users/chendeng/code/work/farm/gameApi/public/index.php(10): PhalApi\PhalApi->response()
+#10 {main}
+2022-06-09 18:55:22|SQL|[#1 - 1.17ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:55:22|ERROR|App.User.Register|PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236
+Stack trace:
+#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')
+#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)
+#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(414): NotORM_Result->insert_multi(Array)
+#3 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/NotORMModel.php(44): NotORM_Result->insert(Array)
+#4 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(272): PhalApi\Model\NotORMModel->insert(Array, NULL)
+#5 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(26): PhalApi\Model\DataModel->insert(Array)
+#6 /Users/chendeng/code/work/farm/gameApi/src/app/Api/User.php(103): App\Domain\Land->insertLand(Array)
+#7 [internal function]: App\Api\User->register()
+#8 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)
+#9 /Users/chendeng/code/work/farm/gameApi/public/index.php(10): PhalApi\PhalApi->response()
+#10 {main}
+2022-06-09 18:56:22|SQL|[#1 - 1.52ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:56:22|ERROR|App.User.Register|PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ul_starttime' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236
+Stack trace:
+#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')
+#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)
+#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(283): NotORM_Result->insert_multi(Array, false)
+#3 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(26): PhalApi\Model\DataModel->insertMore(Array)
+#4 /Users/chendeng/code/work/farm/gameApi/src/app/Api/User.php(103): App\Domain\Land->insertLand(Array)
+#5 [internal function]: App\Api\User->register()
+#6 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)
+#7 /Users/chendeng/code/work/farm/gameApi/public/index.php(10): PhalApi\PhalApi->response()
+#8 {main}
+2022-06-09 18:57:09|SQL|[#1 - 0.93ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:57:09|SQL|[#2 - 8.3ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(26):    PhalApi\Model\DataModel::insertMore()    user_land    INSERT  INTO user_land (`ul_user_id`, `ul_land`, `ul_seed_id`, `ul_seed_starttime`, `ul_seed_iswithered`, `ul_disaster_type`) VALUES (100001, 1, 0, 0, 0, 0), (100001, 2, 0, 0, 0, 0), (100001, 3, 0, 0, 0, 0), (100001, 4, 0, 0, 0, 0), (100001, 5, 0, 0, 0, 0), (100001, 6, 0, 0, 0, 0), (100001, 7, 0, 0, 0, 0), (100001, 8, 0, 0, 0, 0), (100001, 9, 0, 0, 0, 0), (100001, 10, 0, 0, 0, 0), (100001, 11, 0, 0, 0, 0), (100001, 12, 0, 0, 0, 0);|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:59:42|SQL|[#1 - 6.69ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 18:59:42|SQL|[#2 - 7.04ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(24):    PhalApi\Model\DataModel::insertMore()    user_land    INSERT  INTO user_land (`ul_user_id`, `ul_land`, `ul_seed_id`, `ul_seed_starttime`, `ul_seed_iswithered`, `ul_disaster_type`) VALUES (100001, 1, 0, 0, 0, 0), (100001, 2, 0, 0, 0, 0), (100001, 3, 0, 0, 0, 0), (100001, 4, 0, 0, 0, 0), (100001, 5, 0, 0, 0, 0), (100001, 6, 0, 0, 0, 0), (100001, 7, 0, 0, 0, 0), (100001, 8, 0, 0, 0, 0), (100001, 9, 0, 0, 0, 0), (100001, 10, 0, 0, 0, 0), (100001, 11, 0, 0, 0, 0), (100001, 12, 0, 0, 0, 0);|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#1 - 6.27ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#2 - 0.43ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(50):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_invitation = '44515';|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#3 - 7.05ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(181):    PhalApi\Model\DataModel::queryAll()    user    SELECT invitation_id FROM invitation WHERE invitation_code = '750495';|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#4 - 6.24ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(184):    PhalApi\Model\DataModel::insert()    invitation    INSERT  INTO invitation (`invitation_code`) VALUES ('750495');|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#5 - 12.75ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(118):    PhalApi\Model\DataModel::insert()    user    INSERT  INTO user (`user_chain`, `user_wallet_address`, `user_invitation`, `user_invite_invitation`, `user_gold_amount`, `user_usdt_amount`, `user_house_level`, `user_package_enable`, `user_feeze_amount`, `user_reg_ip`, `user_enable`, `user_wood`, `user_stone`, `user_steel`, `user_is_illegal`, `user_type`) VALUES ('1', '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD', '750495', '44515', 0, 0, 1, '1', 0, '127.0.0.1', '1', 0, 0, 0, 0, 0);|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#6 - 0.72ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(162):    PhalApi\Model\DataModel::queryAll()    user    SELECT * FROM user WHERE user_id = 100013;|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#7 - 6.33ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(123):    PhalApi\Model\DataModel::executeSql()    user    UPDATE user SET user_nickname = '地主100013', user_checksum = '20555268' WHERE user_id = '100013';|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#8 - 7.21ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(147):    PhalApi\Model\DataModel::insert()    friend    INSERT  INTO friend (`friend_user_id_1`, `friend_user_id_2`) VALUES (100013, 100000);|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#9 - 0.94ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(153):    PhalApi\Model\DataModel::insert()    friend    INSERT  INTO friend (`friend_user_id_1`, `friend_user_id_2`) VALUES (100000, 100013);|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:00:51|SQL|[#10 - 6.01ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(24):    PhalApi\Model\DataModel::insertMore()    user_land    INSERT  INTO user_land (`ul_user_id`, `ul_land`, `ul_seed_id`, `ul_seed_starttime`, `ul_seed_iswithered`, `ul_disaster_type`) VALUES (100013, 1, 0, 0, 0, 0), (100013, 2, 0, 0, 0, 0), (100013, 3, 0, 0, 0, 0), (100013, 4, 0, 0, 0, 0), (100013, 5, 0, 0, 0, 0), (100013, 6, 0, 0, 0, 0), (100013, 7, 0, 0, 0, 0), (100013, 8, 0, 0, 0, 0), (100013, 9, 0, 0, 0, 0), (100013, 10, 0, 0, 0, 0), (100013, 11, 0, 0, 0, 0), (100013, 12, 0, 0, 0, 0);|{"request":{"service":"App.User.Register"}}
+2022-06-09 19:02:26|SQL|[#1 - 1.01ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Login"}}
+2022-06-09 19:02:26|SQL|[#2 - 21.73ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(210):    PhalApi\Model\DataModel::insert()    user_login_log    INSERT  INTO user_login_log (`ull_user_id`, `ull_login_time`, `ull_ipaddr`) VALUES (100013, 1654826546, '127.0.0.1');|{"request":{"service":"App.User.Login"}}
+2022-06-09 19:02:33|SQL|[#1 - 6.05ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(24):    PhalApi\Model\DataModel::queryAll()    user    SELECT * FROM user WHERE user_id = 100013;|{"request":{"service":"App.House.Upgrade"}}
+2022-06-09 19:02:33|SQL|[#2 - 1.24ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/House.php(29):    PhalApi\Model\DataModel::queryAll()    user    SELECT MAX(house_level) AS maxLevel FROM house;|{"request":{"service":"App.House.Upgrade"}}
+2022-06-09 19:02:33|SQL|[#3 - 0.42ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/House.php(19):    PhalApi\Model\DataModel::queryAll()    house    SELECT * FROM house WHERE house_need_level = 1;|{"request":{"service":"App.House.Upgrade"}}
+2022-06-09 19:02:48|SQL|[#1 - 0.71ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '1';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:03:32|SQL|[#1 - 0.76ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:03:32|SQL|[#2 - 0.84ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(36):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013' AND ul_land = '8' LIMIT 1;|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:03:32|SQL|[#3 - 6.23ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(62):    PhalApi\Model\DataModel::executeSql()    user_land    UPDATE user_land SET ul_seed_id = '1', ul_seed_stage = 1, ul_seed_starttime = 1654826612, ul_seed_iswithered = false WHERE ul_user_id = '100013' AND ul_land = '8';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:03:32|SQL|[#4 - 0.43ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:03:32|SQL|[#5 - 0.98ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(48):    PhalApi\Model\DataModel::executeSql()    seed    UPDATE user_seed SET us_amount = us_amount - 1 WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:03:32|SQL|[#6 - 1.01ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(294):    PhalApi\Model\DataModel::insert()    user_operate_log    INSERT  INTO user_operate_log (`uol_user_id`, `uol_action`, `uol_nums`, `uol_memo`, `uol_ipaddr`, `uol_time`) VALUES (100013, 4, '8', '', '127.0.0.1', 1654826612);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:50:57|SQL|[#1 - 7.67ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Login"}}
+2022-06-09 19:50:57|SQL|[#2 - 17.8ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(210):    PhalApi\Model\DataModel::insert()    user_login_log    INSERT  INTO user_login_log (`ull_user_id`, `ull_login_time`, `ull_ipaddr`) VALUES (100013, 1654829457, '127.0.0.1');|{"request":{"service":"App.User.Login"}}
+2022-06-09 19:51:01|SQL|[#1 - 6.96ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:51:01|SQL|[#2 - 0.91ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(36):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013' AND ul_land = '8' LIMIT 1;|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 19:51:07|SQL|[#1 - 1.05ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(47):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 19:51:07|SQL|[#2 - 0.47ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(57):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM disaster WHERE disaster_ul_id = '8';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:24:29|SQL|[#1 - 0.83ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Login"}}
+2022-06-09 20:24:29|SQL|[#2 - 17.17ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(210):    PhalApi\Model\DataModel::insert()    user_login_log    INSERT  INTO user_login_log (`ull_user_id`, `ull_login_time`, `ull_ipaddr`) VALUES (100013, 1654831469, '127.0.0.1');|{"request":{"service":"App.User.Login"}}
+2022-06-09 20:24:32|SQL|[#1 - 0.71ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:24:32|SQL|[#2 - 0.56ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(36):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013' AND ul_land = '8' LIMIT 1;|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:24:32|SQL|[#3 - 0.39ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(47):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:24:32|ERROR|App.Land.Sowing|PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'disaster_ul_id' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236
+Stack trace:
+#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')
+#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)
+#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(283): NotORM_Result->insert_multi(Array, false)
+#3 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(77): PhalApi\Model\DataModel->insertMore(Array)
+#4 /Users/chendeng/code/work/farm/gameApi/src/app/Api/Land.php(100): App\Domain\Land->insertDisaster(1, Array)
+#5 [internal function]: App\Api\Land->sowing()
+#6 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)
+#7 /Users/chendeng/code/work/farm/gameApi/public/index.php(10): PhalApi\PhalApi->response()
+#8 {main}
+2022-06-09 20:26:59|SQL|[#1 - 6.42ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#2 - 1.22ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(37):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013' AND ul_land = '8' LIMIT 1;|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#3 - 5.27ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(48):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#4 - 7.68ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (1, 0, 0, 0, 1), (1, 0, 0, 0, 2), (1, 0, 0, 0, 3), (1, 0, 0, 0, 4), (1, 0, 0, 0, 5), (1, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#5 - 0.85ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (2, 0, 0, 0, 1), (2, 0, 0, 0, 2), (2, 0, 0, 0, 3), (2, 0, 0, 0, 4), (2, 0, 0, 0, 5), (2, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#6 - 1.14ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (3, 0, 0, 0, 1), (3, 0, 0, 0, 2), (3, 0, 0, 0, 3), (3, 0, 0, 0, 4), (3, 0, 0, 0, 5), (3, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#7 - 0.69ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (4, 0, 0, 0, 1), (4, 0, 0, 0, 2), (4, 0, 0, 0, 3), (4, 0, 0, 0, 4), (4, 0, 0, 0, 5), (4, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#8 - 0.73ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (5, 0, 0, 0, 1), (5, 0, 0, 0, 2), (5, 0, 0, 0, 3), (5, 0, 0, 0, 4), (5, 0, 0, 0, 5), (5, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#9 - 1.4ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (6, 0, 0, 0, 1), (6, 0, 0, 0, 2), (6, 0, 0, 0, 3), (6, 0, 0, 0, 4), (6, 0, 0, 0, 5), (6, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#10 - 1.61ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (7, 0, 0, 0, 1), (7, 0, 0, 0, 2), (7, 0, 0, 0, 3), (7, 0, 0, 0, 4), (7, 0, 0, 0, 5), (7, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#11 - 0.66ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (8, 0, 0, 0, 1), (8, 0, 0, 0, 2), (8, 0, 0, 0, 3), (8, 0, 0, 0, 4), (8, 0, 0, 0, 5), (8, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#12 - 1.13ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (9, 0, 0, 0, 1), (9, 0, 0, 0, 2), (9, 0, 0, 0, 3), (9, 0, 0, 0, 4), (9, 0, 0, 0, 5), (9, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#13 - 2.01ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (10, 0, 0, 0, 1), (10, 0, 0, 0, 2), (10, 0, 0, 0, 3), (10, 0, 0, 0, 4), (10, 0, 0, 0, 5), (10, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#14 - 0.97ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (11, 0, 0, 0, 1), (11, 0, 0, 0, 2), (11, 0, 0, 0, 3), (11, 0, 0, 0, 4), (11, 0, 0, 0, 5), (11, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:26:59|SQL|[#15 - 6.63ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (12, 0, 0, 0, 1), (12, 0, 0, 0, 2), (12, 0, 0, 0, 3), (12, 0, 0, 0, 4), (12, 0, 0, 0, 5), (12, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:28:39|SQL|[#1 - 0.79ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:28:39|SQL|[#2 - 0.91ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(37):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013' AND ul_land = '8' LIMIT 1;|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:28:39|SQL|[#3 - 5.73ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (8, 0, 0, 0, 1), (8, 0, 0, 0, 2), (8, 0, 0, 0, 3), (8, 0, 0, 0, 4), (8, 0, 0, 0, 5), (8, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:10|SQL|[#1 - 5.85ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:10|SQL|[#2 - 0.59ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(37):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013' AND ul_land = '8' LIMIT 1;|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:10|SQL|[#3 - 10.72ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(78):    PhalApi\Model\DataModel::insertMore()    disaster    INSERT  INTO disaster (`disaster_ul_id`, `disaster_type`, `disaster_amount`, `disaster_status`, `disaster_stage`) VALUES (8, 0, 0, 0, 1), (8, 0, 0, 0, 2), (8, 0, 0, 0, 3), (8, 0, 0, 0, 4), (8, 0, 0, 0, 5), (8, 0, 0, 0, 6);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:10|SQL|[#4 - 6.65ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(104):    PhalApi\Model\DataModel::executeSql()    user_land    UPDATE user_land SET ul_seed_id = '1', ul_seed_stage = 1, ul_seed_starttime = 1654831750, ul_seed_iswithered = false WHERE ul_user_id = '100013' AND ul_land = '8';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:10|SQL|[#5 - 0.45ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:10|SQL|[#6 - 0.66ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(48):    PhalApi\Model\DataModel::executeSql()    seed    UPDATE user_seed SET us_amount = us_amount - 1 WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:10|SQL|[#7 - 6.27ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(294):    PhalApi\Model\DataModel::insert()    user_operate_log    INSERT  INTO user_operate_log (`uol_user_id`, `uol_action`, `uol_nums`, `uol_memo`, `uol_ipaddr`, `uol_time`) VALUES (100013, 4, '8', '', '127.0.0.1', 1654831750);|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:16|SQL|[#1 - 0.55ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Seed.php(20):    PhalApi\Model\DataModel::queryAll()    seed    SElECT * FROM user_seed WHERE us_id = '4';|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:29:16|SQL|[#2 - 0.5ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(37):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013' AND ul_land = '8' LIMIT 1;|{"request":{"service":"App.Land.Sowing"}}
+2022-06-09 20:38:20|SQL|[#1 - 1.83ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(48):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:38:20|SQL|[#2 - 0.7ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(58):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM disaster WHERE disaster_ul_id = '8';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:38:39|SQL|[#1 - 1.26ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(48):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:38:39|SQL|[#2 - 0.79ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(58):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM disaster WHERE disaster_ul_id = '8';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:48:53|SQL|[#1 - 5.77ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(36):    PhalApi\Model\DataModel::queryAll()    user    SELECT user_id FROM user WHERE user_chain = 1 AND user_wallet_address = '0x4c4Ac697C62c20808105134FA2036900B1f8CAaD';|{"request":{"service":"App.User.Login"}}
+2022-06-09 20:48:53|SQL|[#2 - 7.32ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/User.php(210):    PhalApi\Model\DataModel::insert()    user_login_log    INSERT  INTO user_login_log (`ull_user_id`, `ull_login_time`, `ull_ipaddr`) VALUES (100013, 1654832933, '127.0.0.1');|{"request":{"service":"App.User.Login"}}
+2022-06-09 20:49:21|SQL|[#1 - 1.28ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(48):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:49:21|SQL|[#2 - 6.64ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(62):    PhalApi\Model\DataModel::getList()    disaster    SELECT * FROM disaster WHERE (disaster_ul_id = :user_land_id) LIMIT 0,100; -- 8|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:49:41|SQL|[#1 - 1.41ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(48):    PhalApi\Model\DataModel::queryAll()    user_land    SELECT * FROM user_land WHERE ul_user_id = '100013';|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:49:41|SQL|[#2 - 0.7ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(62):    PhalApi\Model\DataModel::getList()    disaster    SELECT * FROM disaster WHERE (disaster_ul_id = :user_land_id) LIMIT 0,100; -- 8|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:52:30|SQL|[#1 - 1.08ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(52):    PhalApi\Model\DataModel::getList()    user_land    SELECT * FROM user_land WHERE (ul_user_id = :ul_user_id) LIMIT 0,100; -- '100013'|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:52:30|SQL|[#2 - 6.05ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(68):    PhalApi\Model\DataModel::getList()    disaster    SELECT * FROM disaster WHERE (disaster_ul_id = :user_land_id) LIMIT 0,100; -- 8|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:56:42|SQL|[#1 - 1.89ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(52):    PhalApi\Model\DataModel::getList()    user_land    SELECT * FROM user_land WHERE (ul_user_id = :ul_user_id) LIMIT 0,100; -- '100013'|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:56:42|SQL|[#2 - 5.97ms - SQL]/Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(165):    PhalApi\Model\DataModel::getList()    setup    SELECT * FROM setup LIMIT 0,1;|{"request":{"service":"App.Land.GetList"}}
+2022-06-09 20:56:42|SQL|[#3 - 0.82ms - SQL]/Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(68):    PhalApi\Model\DataModel::getList()    disaster    SELECT * FROM disaster WHERE (disaster_ul_id = :user_land_id) LIMIT 0,100; -- 8|{"request":{"service":"App.Land.GetList"}}

+ 7 - 0
runtime/log/202206/error_20220609.log

@@ -3,3 +3,10 @@
 2022-06-09 04:53:39|ERROR|Error (1): Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'land' in 'where clause' in /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php:236\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('UPDATE user_lan...')\n#1 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php(341): NotORM_Result->query('UPDATE user_lan...', Array)\n#2 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/kernal/src/Model/DataModel.php(307): NotORM_Result->executeSql('UPDATE user_lan...', Array)\n#3 /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Domain/Land.php(57): PhalApi\Model\DataModel->executeSql('UPDATE user_lan...')\n#4 /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Api/Land.php(71): App\Domain\Land->putSeedToLand(100011, 1, '1')\n#5 [internal function]: App\Api\Land->sowing()\n#6 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phal in [File: /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php, Line: 236, Time: 1654775619]
 2022-06-09 04:57:06|ERROR|Error (1): Uncaught ArgumentCountError: Too few arguments to function App\Domain\Seed::delSeedAmount(), 1 passed in /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Api/Land.php on line 72 and exactly 2 expected in /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Domain/Seed.php:33\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Api/Land.php(72): App\Domain\Seed->delSeedAmount('1')\n#1 [internal function]: App\Api\Land->sowing()\n#2 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)\n#3 /Users/chendeng/code/work/farm/gameApi/phalapi/public/index.php(10): PhalApi\PhalApi->response()\n#4 {main}\n  thrown in [File: /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Domain/Seed.php, Line: 33, Time: 1654775826]
 2022-06-09 05:28:53|ERROR|Error (1): Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'us_land' in 'where clause' in /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php:236\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('UPDATE user_see...')\n#1 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php(341): NotORM_Result->query('UPDATE user_see...', Array)\n#2 /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/kernal/src/Model/DataModel.php(307): NotORM_Result->executeSql('UPDATE user_see...', Array)\n#3 /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Domain/Land.php(56): PhalApi\Model\DataModel->executeSql('UPDATE user_see...')\n#4 /Users/chendeng/code/work/farm/gameApi/phalapi/src/app/Api/Land.php(84): App\Domain\Land->setLandEradicate(100011, '1', 0)\n#5 [internal function]: App\Api\Land->eradicate()\n#6 /Users/chendeng/code/work/farm/gameApi/phalapi/ve in [File: /Users/chendeng/code/work/farm/gameApi/phalapi/vendor/phalapi/notorm/src/NotORM/Result.php, Line: 236, Time: 1654777733]
+2022-06-09 18:53:20|ERROR|Error (1): Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'i' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')\n#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)\n#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(414): NotORM_Result->insert_multi(Array)\n#3 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/NotORMModel.php(44): NotORM_Result->insert(Array)\n#4 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(272): PhalApi\Model\NotORMModel->insert(Array, NULL)\n#5 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(25): PhalApi\Model\DataModel->insert(Array)\n#6 /Users/chendeng/code/work/farm/gameApi/src/app/Ap in [File: /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php, Line: 236, Time: 1654826000]
+2022-06-09 18:54:02|ERROR|Error (4): syntax error, unexpected ';', expecting ')' in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 24, Time: 1654826042]
+2022-06-09 18:54:53|ERROR|Error (1): Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'i' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')\n#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)\n#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(414): NotORM_Result->insert_multi(Array)\n#3 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/NotORMModel.php(44): NotORM_Result->insert(Array)\n#4 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(272): PhalApi\Model\NotORMModel->insert(Array, NULL)\n#5 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(26): PhalApi\Model\DataModel->insert(Array)\n#6 /Users/chendeng/code/work/farm/gameApi/src/app/Ap in [File: /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php, Line: 236, Time: 1654826093]
+2022-06-09 18:55:22|ERROR|Error (1): Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')\n#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)\n#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(414): NotORM_Result->insert_multi(Array)\n#3 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/NotORMModel.php(44): NotORM_Result->insert(Array)\n#4 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(272): PhalApi\Model\NotORMModel->insert(Array, NULL)\n#5 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(26): PhalApi\Model\DataModel->insert(Array)\n#6 /Users/chendeng/code/work/farm/gameApi/src/app/Ap in [File: /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php, Line: 236, Time: 1654826122]
+2022-06-09 18:56:22|ERROR|Error (1): Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ul_starttime' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')\n#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)\n#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(283): NotORM_Result->insert_multi(Array, false)\n#3 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(26): PhalApi\Model\DataModel->insertMore(Array)\n#4 /Users/chendeng/code/work/farm/gameApi/src/app/Api/User.php(103): App\Domain\Land->insertLand(Array)\n#5 [internal function]: App\Api\User->register()\n#6 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)\n#7 /Users/chendeng/code/work/farm in [File: /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php, Line: 236, Time: 1654826182]
+2022-06-09 20:24:32|ERROR|Error (1): Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'disaster_ul_id' in 'field list' in /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php:236\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(236): PDO->prepare('INSERT  INTO us...')\n#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php(397): NotORM_Result->query('INSERT  INTO us...', Array)\n#2 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/Model/DataModel.php(283): NotORM_Result->insert_multi(Array, false)\n#3 /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php(77): PhalApi\Model\DataModel->insertMore(Array)\n#4 /Users/chendeng/code/work/farm/gameApi/src/app/Api/Land.php(100): App\Domain\Land->insertDisaster(1, Array)\n#5 [internal function]: App\Api\Land->sowing()\n#6 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(53): call_user_func(Array)\n#7 /Users/chendeng/code/wo in [File: /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/notorm/src/NotORM/Result.php, Line: 236, Time: 1654831472]
+2022-06-09 20:48:56|ERROR|Error (1): Uncaught Error: Class 'App\Domain\Setup' not found in /Users/chendeng/code/work/farm/gameApi/src/app/Api/Land.php:26\nStack trace:\n#0 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/ApiFactory.php(63): App\Api\Land->__construct()\n#1 /Users/chendeng/code/work/farm/gameApi/vendor/phalapi/kernal/src/PhalApi.php(51): PhalApi\ApiFactory::generateService()\n#2 /Users/chendeng/code/work/farm/gameApi/public/index.php(10): PhalApi\PhalApi->response()\n#3 {main}\n  thrown in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Api/Land.php, Line: 26, Time: 1654832936]

+ 12 - 0
runtime/log/202206/notice_20220609.log

@@ -26,3 +26,15 @@
 2022-06-09 06:46:47|NOTICE|Notice (8): crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654782407]
 2022-06-09 06:47:17|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654782437]
 2022-06-09 06:47:17|NOTICE|Notice (8): crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654782437]
+2022-06-09 18:04:05|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654823045]
+2022-06-09 18:04:05|NOTICE|Notice (8): crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654823045]
+2022-06-09 18:52:59|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654825979]
+2022-06-09 18:52:59|NOTICE|Notice (8): crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654825979]
+2022-06-09 19:50:54|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654829454]
+2022-06-09 19:50:54|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654829454]
+2022-06-09 19:50:54|NOTICE|Notice (8): crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654829454]
+2022-06-09 20:24:26|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654831466]
+2022-06-09 20:24:26|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654831466]
+2022-06-09 20:24:26|NOTICE|Notice (8): crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654831466]
+2022-06-09 20:48:50|NOTICE|Notice (8): A non well formed numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654832930]
+2022-06-09 20:48:50|NOTICE|Notice (8): crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654832930]

+ 186 - 0
runtime/log/202206/warning_20220609.log

@@ -85,3 +85,189 @@
 2022-06-09 06:47:17|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654782437]
 2022-06-09 06:47:17|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654782437]
 2022-06-09 06:47:17|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654782437]
+2022-06-09 18:04:05|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654823045]
+2022-06-09 18:04:05|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654823045]
+2022-06-09 18:04:05|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654823045]
+2022-06-09 18:04:05|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654823045]
+2022-06-09 18:52:59|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654825979]
+2022-06-09 18:52:59|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654825979]
+2022-06-09 18:52:59|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654825979]
+2022-06-09 18:52:59|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654825979]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826000]
+2022-06-09 18:53:20|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826000]
+2022-06-09 18:54:07|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826047]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 16, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 17, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 18, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 19, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 20, Time: 1654826093]
+2022-06-09 18:54:53|WARNING|Warning (2): Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Land.php, Line: 21, Time: 1654826093]
+2022-06-09 18:57:09|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826229]
+2022-06-09 18:59:42|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826382]
+2022-06-09 19:00:51|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826451]
+2022-06-09 19:02:26|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826546]
+2022-06-09 19:02:33|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826553]
+2022-06-09 19:02:48|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826568]
+2022-06-09 19:03:32|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654826612]
+2022-06-09 19:50:49|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654829449]
+2022-06-09 19:50:53|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654829453]
+2022-06-09 19:50:54|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654829454]
+2022-06-09 19:50:54|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654829454]
+2022-06-09 19:50:57|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654829457]
+2022-06-09 19:51:01|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654829461]
+2022-06-09 19:51:07|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654829467]
+2022-06-09 20:24:26|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654831466]
+2022-06-09 20:24:26|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654831466]
+2022-06-09 20:24:26|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654831466]
+2022-06-09 20:24:29|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654831469]
+2022-06-09 20:26:59|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654831619]
+2022-06-09 20:28:39|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654831719]
+2022-06-09 20:29:10|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654831750]
+2022-06-09 20:29:16|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654831756]
+2022-06-09 20:38:20|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654832300]
+2022-06-09 20:38:39|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654832319]
+2022-06-09 20:48:50|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654832930]
+2022-06-09 20:48:50|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654832930]
+2022-06-09 20:48:50|WARNING|Warning (2): A non-numeric value encountered in [File: /Users/chendeng/code/work/farm/gameApi/src/app/Domain/Token.php, Line: 50, Time: 1654832930]
+2022-06-09 20:48:50|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654832930]
+2022-06-09 20:48:53|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654832933]
+2022-06-09 20:49:21|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654832961]
+2022-06-09 20:49:41|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654832981]
+2022-06-09 20:52:30|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654833150]
+2022-06-09 20:56:42|WARNING|Warning (2): file_get_contents(/Users/chendeng/code/work/farm/gameApi/public/../.env): failed to open stream: No such file or directory in [File: /Users/chendeng/code/work/farm/gameApi/vendor/vlucas/phpdotenv/src/Store/File/Reader.php, Line: 73, Time: 1654833402]

+ 178 - 0
src/app/Api/Land.php

@@ -4,6 +4,7 @@ use App\Common\ErrorException;
 use App\Domain\Land as UserLandDomain;
 use App\Domain\User as UserDomain;
 use App\Domain\Seed as SeedDomain;
+use App\Domain\Setup as SetupDomain;
 use App\Common\Error;
 
 /**
@@ -15,12 +16,15 @@ class Land extends BaseApi {
     private $domain;
     private $userDomain;
     private $seedDomain;
+    private $setupDomain;
+    private $setup;
 
     public function __construct() {
         parent::__construct();
         $this->domain = new UserLandDomain();
         $this->userDomain = new UserDomain();
         $this->seedDomain = new SeedDomain();
+        $this->setupDomain = new SetupDomain();
     }
 
     public function getRules() {
@@ -32,9 +36,174 @@ class Land extends BaseApi {
             'eradicate' => array(
                 'land'  => array('name' => 'land', 'source' => 'post', 'require' => true),
             ),
+            'getList' => array(
+                'user_id'  => array('name' => 'user_id', 'source' => 'post'),
+            ),
+        );
+    }
+
+    /**
+     * 获取土地列表(只能读取登录用户和登录用户好友的土地信息)
+     * @return void
+     */
+    public function getList() {
+        if($this->user_id) {
+            $user_id = $this->user_id;
+        }
+        else {
+            $user_id = $this->loginUserId;
+        }
+        $landList = $this->domain->getLandList($user_id);
+        $this->setup = $this->setupDomain->get();
+        $returnData = array();
+        foreach($landList as $result) {
+            $data = array();
+            $user_land_id = $result['ul_id'];
+            $seed_id = $result['ul_seed_id'];
+            $seed_starttime = $result['ul_seed_starttime'];
+            $seed_stage = $result['ul_seed_stage'];
+            $allTime = $result['ul_grow_time'];
+            if ($seed_id > 0 && $result['ul_seed_stage'] < 7) {
+                //当前有未长出果实的种子,则执行灾害流程
+                $this->runDisaster($user_land_id, $result['ul_seed_stage']);
+                $v = $this->updateGrowTimeAndStage($user_land_id, $seed_id, $seed_starttime);
+                $this->runDisaster($user_land_id, $result['ul_seed_stage']);
+                $seed_stage = $v['stage'];
+                $allTime = $v['allTime'];
+                $disasterList = $this->domain->getDisasterList($user_land_id);
+                $data['disaster'] = $disasterList;
+            }
+
+            $data['land'] = $result['ul_land'];
+            $data['seed_id'] = $seed_id;
+            $data['seed_stage'] = $seed_stage;
+            $data['all_time'] = $allTime;
+            $returnData[] = $data;
+        }
+        return $returnData;
+    }
+
+    /**
+     * 更新生长时长数据和当前阶段
+     * @param $user_land_id
+     * @param $seed_id
+     * @param $seed_starttime
+     * @return array
+     */
+    public function updateGrowTimeAndStage($user_land_id, $seed_id, $seed_starttime) {
+        $seed = $this->seedDomain->getSeedInfo($seed_id);
+        $seed_growth_time = $seed['seed_growth_time'];          //初始生长时长
+        $fs_time_ratio = $seed['fs_time_ratio'];
+        $addTime = $this->getAddGrowTime($user_land_id, $seed_growth_time);
+        $allTime = $seed_growth_time + $addTime;        //加上灾害延时的总生长时间长
+        $consumeTime = time() - $seed_starttime;        //已消耗的时间
+        $fs_time_ratio_array = explode(',', $fs_time_ratio);
+        $stage = 1;
+        for ($i = count($fs_time_ratio_array) - 1; $i >= 0; $i--) {
+            //计算消耗时间占总时间的占比
+            $per = floor(($consumeTime / $allTime) * 100);
+            if ($per >= $fs_time_ratio_array[$i]) {
+                $stage = $i + 1;
+                break;
+            }
+        }
+
+        $data['ul_seed_stage'] = $stage;
+        $data['ul_grow_time'] = $allTime;
+        $this->domain->updateLandInfo($user_land_id, $data);
+        return array(
+            'stage' => $stage,
+            'allTime' => $allTime
         );
     }
 
+    /**
+     * 计算因灾害产生的额外生长时长
+     * @param $user_land_id
+     * @param $seed_growth_time
+     * @return float|int
+     */
+    public function getAddGrowTime($user_land_id, $seed_growth_time) {
+        $addTime = 0;
+        $disasterList = $this->domain->getDisasterList($user_land_id);
+
+        foreach($disasterList as $disaster) {
+            if ($disaster['disaster_drought'] == 1) {
+                //发生干旱
+                $addTime += floor(($this->setup['drought_effect'] / 100) * $seed_growth_time);
+            }
+            else {
+                if ($disaster['disaster_weed'] == 1) {
+                    //发生草害
+                    $addTime += floor(($this->setup['weed_effect'] * $disaster['disaster_weed_amount'] / 100) * $seed_growth_time);
+                }
+
+                if ($disaster['disaster_pest'] == 1) {
+                    //发生虫害
+                    $addTime += floor(($this->setup['pest_effect'] * $disaster['disaster_pest_amount'] / 100) * $seed_growth_time);
+                }
+            }
+        }
+        return $addTime;
+    }
+
+    /**
+     * 执行土地灾害
+     * @param $user_land_id
+     * @param $max_stage
+     * @return void
+     */
+    public function runDisaster($user_land_id, $max_stage) {
+        $disasterList = $this->domain->getDisasterList($user_land_id);
+        foreach($disasterList as $disaster) {
+            if ($disaster['disaster_stage'] > $max_stage) {
+                //还未到达的阶段不用触发灾害
+                break;
+            }
+
+            if($disaster['disaster_status'] == 0) {
+                /**
+                 * 仅在未处理灾害的土地执行灾害
+                 */
+                //是否发生干旱
+                $updateData = array();
+                $rand = mt_rand(0, 100);
+                $canDisaster = false;
+                if($rand <= $this->setup['drought_probability']) {
+                    //触发干旱,则不触发其他灾害
+                    $updateData['disaster_drought'] = true;
+                    $canDisaster = true;
+                }
+                else {
+                    $rand = mt_rand(0, 100);
+                    if($rand <= $this->setup['weed_probability']) {
+                        //触发草害
+                        $updateData['disaster_weed'] = true;
+                        $updateData['disaster_weed_amount'] = $this->setup['weed_num'];
+                        $canDisaster = true;
+                    }
+
+                    $rand = mt_rand(0, 100);
+                    if($rand <= $this->setup['weed_probability']) {
+                        //触发虫害
+                        $updateData['disaster_pest'] = true;
+                        $updateData['disaster_pest_amount'] = $this->setup['pest_num'];
+                        $canDisaster = true;
+                    }
+                }
+
+                if($canDisaster) {
+                    $updateData['disaster_status'] = 2;
+                }
+                else {
+                    $updateData = array();
+                    $updateData['disaster_status'] = 1;
+                }
+                $this->domain->updateDisaster($disaster['disaster_id'], $updateData);
+            }
+        }
+    }
+
     /**
      * 播种
      * @return void
@@ -60,6 +229,7 @@ class Land extends BaseApi {
 
         $landInfo = $this->domain->getLandInfo($user_id, $land);
         $land_seed_id = $landInfo['ul_seed_id'];
+        $ul_id = $landInfo['ul_id'];
         if($land_seed_id > 0) {
             //当前土地已播种
             Error::send(2007);
@@ -70,6 +240,14 @@ class Land extends BaseApi {
             Error::send(2044);
         }
 
+        $insertDisasterData = array();
+        for($i = 1; $i <= 6; $i++) {
+            $insertDisasterData[] = array(
+                'stage' => $i
+            );
+        }
+        $this->domain->insertDisaster($ul_id, $insertDisasterData);
+
         //完成播种
         $this->domain->putSeedToLand($user_id, $seed_id, $land);
         $this->seedDomain->delSeedAmount($user_seed_id, 1);

+ 17 - 3
src/app/Api/User.php

@@ -2,6 +2,7 @@
 namespace App\Api;
 use App\Common\ErrorException;
 use App\Domain\User as UserDomain;
+use App\Domain\Land as LandDomain;
 use App\Common\Error;
 
 /**
@@ -9,13 +10,13 @@ use App\Common\Error;
  * @property mixed $code
  */
 class User extends BaseApi {
-    /**
-     * @var DomainToken
-     */
     private $domain;
+    private $landDomain;
+
     public function __construct() {
         parent::__construct();
         $this->domain = new UserDomain();
+        $this->landDomain = new LandDomain();
     }
     public function getRules() {
         return array(
@@ -91,12 +92,25 @@ class User extends BaseApi {
             //系统邀请码不存在
             Error::send(2042);
         }
+
+        /**
+         * 添加默认土地信息
+         */
+        $data = array();
+        for($i = 1; $i <= 12; $i++) {
+            $data[] = array(
+                'user_id' => $user_id,
+                'land'    => $i
+            );
+        }
+        $this->landDomain->insertLand($data);
         return array();
     }
 
     /**
      * 修改用户昵称
      * @return string[]
+     * @throws ErrorException
      */
     public function changeNickname() {
         if($this->domain->getUserIdByNickname($this->nickname)) {

+ 1 - 1
src/app/Common/Tools.php

@@ -1,7 +1,7 @@
 <?php
 namespace App\Common;
 class Tools {
-    public static function Rand ($length = 32, $mode = 0) {
+    public static function Rand($length = 32, $mode = 0) {
         switch ($mode) {
             case '1':
                 $str = '1234567890';

+ 92 - 22
src/app/Domain/Land.php

@@ -1,6 +1,8 @@
 <?php
 namespace App\Domain;
+use App\Model\Disaster;
 use App\Model\UserLand as UserLandModel;
+use App\Model\Disaster as DisasterModel;
 
 class Land {
     private $redisDbName;
@@ -9,27 +11,25 @@ class Land {
         $this->redisDbName = 'game';
     }
 
-    /**
-     * 添加用户地块信息
-     * @param $user_id
-     * @param $land
-     * @param $seed_id
-     * @return void
-     */
-    public function insertLand($user_id, $land, $seed_id) {
-        $data = array(
-            'ul_user_id'         => $user_id,
-            'ul_land'            => $land,
-            'ul_seed_id'         => $seed_id,
-            'ul_seed_starttime'  => time(),
-            'ul_seed_iswithered' => 0,
-            'ul_disaster_type'   => 0
-        );
-        UserLandModel::model()->insert($data);
+    public function insertLand($landData) {
+        $data = null;
+        for($i = 0; $i < count($landData); $i++) {
+            $data[$i]['ul_user_id'] = $landData[$i]['user_id'];
+            $data[$i]['ul_land'] = $landData[$i]['land'];
+            $data[$i]['ul_seed_id'] = 0;
+            $data[$i]['ul_seed_stage'] = 0;
+            $data[$i]['ul_seed_starttime'] = 0;
+            $data[$i]['ul_seed_iswithered'] = 0;
+            $data[$i]['ul_disaster_type'] = 0;
+        }
+
+        if(count($data) > 0) {
+            UserLandModel::model()->insertMore($data);
+        }
     }
 
     /**
-     * 获取地信息
+     * 获取地信息
      * @param $user_id
      * @param $land
      * @return mixed
@@ -37,13 +37,83 @@ class Land {
     public function getLandInfo($user_id, $land) {
         $sql = "SELECT * FROM user_land WHERE ul_user_id = '$user_id' AND ul_land = '$land' LIMIT 1";
         $res = UserLandModel::model()->queryAll($sql);
-        if(count($res) <= 0) {
-            $this->insertLand($user_id, $land, 0);
-            $res = UserLandModel::model()->queryAll($sql);
-        }
         return $res[0];
     }
 
+    /**
+     * 修改土地信息
+     * @param $user_land_id
+     * @param $data
+     * @return void
+     */
+    public function updateLandInfo($user_land_id, $data) {
+        $where = 'ul_id=' . $user_land_id;
+        UserLandModel::model()->updateAll($where, $data);
+    }
+
+    /**
+     * 更改灾害数据
+     * @param $disaster_id
+     * @param $data     array('key1' => val1, 'key2' => val2, 'keyn' => valn);
+     * @return void
+     */
+    public function updateDisaster($disaster_id, $data) {
+        $where = 'disaster_id=' . $disaster_id;
+        Disaster::model()->updateAll($where, $data);
+    }
+
+    /**
+     * 获取土地列表
+     * @param $user_id
+     * @return array
+     */
+    public function getLandList($user_id) {
+        $where = 'ul_user_id = :ul_user_id';
+        $whereParams = array(
+            ':ul_user_id' => $user_id
+        );
+        $select = '*';
+        return UserLandModel::model()->getList($where, $whereParams, $select);
+    }
+
+    /**
+     * 获取土地灾害历史记录
+     * @param $user_land_id
+     * @return array
+     */
+    public function getDisasterList($user_land_id) {
+        $where = 'disaster_ul_id = :user_land_id';
+        $whereParams = array(
+            ':user_land_id' => $user_land_id
+        );
+        $select = '*';
+        return DisasterModel::model()->getList($where, $whereParams, $select);
+    }
+
+    /**
+     * 添加灾害初始数据
+     * @param $user_land_id
+     * @param $disasterData
+     * @return void
+     */
+    public function insertDisaster($user_land_id, $disasterData) {
+        $data = null;
+        for($i = 0; $i < count($disasterData); $i++) {
+            $data[$i]['disaster_ul_id'] = $user_land_id;
+            $data[$i]['disaster_status'] = 0;
+            $data[$i]['disaster_drought'] = false;
+            $data[$i]['disaster_pest'] = false;
+            $data[$i]['disaster_pest_amount'] = 0;
+            $data[$i]['disaster_weed'] = false;
+            $data[$i]['disaster_weed_amount'] = 0;
+            $data[$i]['disaster_stage'] = $disasterData[$i]['stage'];
+        }
+
+        if(count($data) > 0) {
+            DisasterModel::model()->insertMore($data);
+        }
+    }
+
     /**
      * 设置土地植被枯萎状态
      * @param $user_id

+ 8 - 0
src/app/Domain/Seed.php

@@ -10,6 +10,14 @@ class Seed {
         $this->redisDbName = 'game';
     }
 
+    /**
+     * 获取种子类型数据
+     * @param $seed_id
+     * @return array
+     */
+    function getSeedInfo($seed_id) {
+        return SeedModel::model()->getDataBy('seed_id', $seed_id);
+    }
     /**
      * 根据ID,获取用户种子数据
      * @param $user_seed_id

+ 16 - 0
src/app/Domain/Setup.php

@@ -0,0 +1,16 @@
+<?php
+namespace App\Domain;
+use App\Model\Setup as SetupModel;
+
+
+class Setup {
+    private $redisDbName;
+
+    public function __construct() {
+        $this->redisDbName = 'game';
+    }
+
+    public function get() {
+        return SetupModel::model()->getData();
+    }
+}

+ 9 - 0
src/app/Model/Disaster.php

@@ -0,0 +1,9 @@
+<?php
+namespace App\Model;
+
+class Disaster extends Base {
+
+    public function getTableName($id) {
+        return 'disaster';
+    }
+}