15313670163 hace 3 meses
padre
commit
90ba4e3d23

+ 14 - 3
.env

@@ -1,16 +1,27 @@
 APP_NAME=user_producer
 APP_ENV=dev
 
+# DB_DRIVER=mysql
+# DB_HOST=192.168.1.201
+# DB_PORT=3307
+# DB_DATABASE=hyperf
+# DB_USERNAME=root
+# DB_PASSWORD=123456
+# DB_CHARSET=utf8mb4
+# DB_COLLATION=utf8mb4_unicode_ci
+# DB_PREFIX=
+HOST = http://101.254.114.211:13306/
 DB_DRIVER=mysql
-DB_HOST=192.168.1.201
-DB_PORT=3307
+DB_HOST=192.168.1.123
+DB_PORT=13306
 DB_DATABASE=hyperf
 DB_USERNAME=root
-DB_PASSWORD=123456
+DB_PASSWORD=zxt_mysql_dev
 DB_CHARSET=utf8mb4
 DB_COLLATION=utf8mb4_unicode_ci
 DB_PREFIX=
 
+
 REDIS_HOST=localhost
 REDIS_AUTH=(null)
 REDIS_PORT=6379

+ 2 - 1
app/JsonRpc/UserService.php

@@ -85,7 +85,8 @@ class UserService implements UserServiceInterface
         } catch(\Throwable $ex){
             Db::rollBack();
             var_dump($ex->getMessage());
-            return Result::error("创建失败",0);
+            $message = $ex->getMessage();
+            return Result::error($message,0);
         }
         return $userInfoId ? Result::success(["id"=>$userid]) : Result::error("创建失败",0);
     }

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
runtime/container/scan.cache


+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-62488
+7173

+ 2 - 0
vendor/composer/autoload_classmap.php

@@ -1517,6 +1517,8 @@ return array(
     'Hyperf\\Watcher\\Driver\\FindNewerDriver' => $vendorDir . '/hyperf/watcher/src/Driver/FindNewerDriver.php',
     'Hyperf\\Watcher\\Driver\\FswatchDriver' => $vendorDir . '/hyperf/watcher/src/Driver/FswatchDriver.php',
     'Hyperf\\Watcher\\Driver\\ScanFileDriver' => $vendorDir . '/hyperf/watcher/src/Driver/ScanFileDriver.php',
+    'Hyperf\\Watcher\\Event\\BeforeServerRestart' => $vendorDir . '/hyperf/watcher/src/Event/BeforeServerRestart.php',
+    'Hyperf\\Watcher\\Listener\\ReloadDotenvListener' => $vendorDir . '/hyperf/watcher/src/Listener/ReloadDotenvListener.php',
     'Hyperf\\Watcher\\Option' => $vendorDir . '/hyperf/watcher/src/Option.php',
     'Hyperf\\Watcher\\Process' => $vendorDir . '/hyperf/watcher/src/Process.php',
     'Hyperf\\Watcher\\Watcher' => $vendorDir . '/hyperf/watcher/src/Watcher.php',

+ 2 - 0
vendor/composer/autoload_static.php

@@ -2206,6 +2206,8 @@ class ComposerStaticInit88f2a4d4a4e81dc7d415bcdf39930654
         'Hyperf\\Watcher\\Driver\\FindNewerDriver' => __DIR__ . '/..' . '/hyperf/watcher/src/Driver/FindNewerDriver.php',
         'Hyperf\\Watcher\\Driver\\FswatchDriver' => __DIR__ . '/..' . '/hyperf/watcher/src/Driver/FswatchDriver.php',
         'Hyperf\\Watcher\\Driver\\ScanFileDriver' => __DIR__ . '/..' . '/hyperf/watcher/src/Driver/ScanFileDriver.php',
+        'Hyperf\\Watcher\\Event\\BeforeServerRestart' => __DIR__ . '/..' . '/hyperf/watcher/src/Event/BeforeServerRestart.php',
+        'Hyperf\\Watcher\\Listener\\ReloadDotenvListener' => __DIR__ . '/..' . '/hyperf/watcher/src/Listener/ReloadDotenvListener.php',
         'Hyperf\\Watcher\\Option' => __DIR__ . '/..' . '/hyperf/watcher/src/Option.php',
         'Hyperf\\Watcher\\Process' => __DIR__ . '/..' . '/hyperf/watcher/src/Process.php',
         'Hyperf\\Watcher\\Watcher' => __DIR__ . '/..' . '/hyperf/watcher/src/Watcher.php',

+ 2 - 2
vendor/composer/installed.php

@@ -3,7 +3,7 @@
         'name' => 'hyperf/hyperf-skeleton',
         'pretty_version' => 'dev-master',
         'version' => 'dev-master',
-        'reference' => '5b45b0f0eb4388d1f26f5231c2be1e47e21b2631',
+        'reference' => 'e61e0cf3dd2e94085301046ab8faaa02ab199dec',
         'type' => 'project',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
@@ -439,7 +439,7 @@
         'hyperf/hyperf-skeleton' => array(
             'pretty_version' => 'dev-master',
             'version' => 'dev-master',
-            'reference' => '5b45b0f0eb4388d1f26f5231c2be1e47e21b2631',
+            'reference' => 'e61e0cf3dd2e94085301046ab8faaa02ab199dec',
             'type' => 'project',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio