rkljw 6 mēneši atpakaļ
vecāks
revīzija
9e17688262

+ 18 - 0
.env

@@ -0,0 +1,18 @@
+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=
+
+REDIS_HOST=localhost
+REDIS_AUTH=(null)
+REDIS_PORT=6379
+REDIS_DB=0

+ 0 - 1
app/JsonRpc/NewsService.php

@@ -106,7 +106,6 @@ class NewsService implements NewsServiceInterface
      */
     public function getArticleList(array $data): array
     {
-        var_dump("资讯:",$data);
         $where= [];
         if(isset($data['keyWord'])){
             $where[] =   ['article.title','like','%'.$data['keyWord'].'%'];

+ 1 - 1
config/autoload/server.php

@@ -20,7 +20,7 @@ return [
             'name' => 'jsonrpc-http',
             'type' => Server::SERVER_HTTP,
             'host' => '0.0.0.0',
-            'port' => 9502,
+            'port' => 9505,
             'sock_type' => SWOOLE_SOCK_TCP,
             'callbacks' => [
                 Event::ON_REQUEST => [Hyperf\JsonRpc\HttpServer::class, 'onRequest'],

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
runtime/container/classes.cache


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 0
runtime/container/scan.cache


+ 1 - 5
runtime/hyperf.pid

@@ -1,5 +1 @@
-<<<<<<< HEAD
-1238
-=======
-152
->>>>>>> 50b6d9d (gitignore)
+2742

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 2467
runtime/logs/hyperf.log


+ 6 - 6
vendor/composer/installed.php

@@ -1,9 +1,9 @@
 <?php return array(
     'root' => array(
         'name' => 'hyperf/hyperf-skeleton',
-        'pretty_version' => '1.0.0+no-version-set',
-        'version' => '1.0.0.0',
-        'reference' => null,
+        'pretty_version' => 'dev-master',
+        'version' => 'dev-master',
+        'reference' => '2d74f709d7ba0f8dac5e7fc688710ed24bf12f0e',
         'type' => 'project',
         'install_path' => __DIR__ . '/../../',
         'aliases' => array(),
@@ -437,9 +437,9 @@
             'dev_requirement' => false,
         ),
         'hyperf/hyperf-skeleton' => array(
-            'pretty_version' => '1.0.0+no-version-set',
-            'version' => '1.0.0.0',
-            'reference' => null,
+            'pretty_version' => 'dev-master',
+            'version' => 'dev-master',
+            'reference' => '2d74f709d7ba0f8dac5e7fc688710ed24bf12f0e',
             'type' => 'project',
             'install_path' => __DIR__ . '/../../',
             'aliases' => array(),

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels