客服系统 rails 日志文件

客服系统 rails 日志文件

1 [email protected]:~$ cd demo/
  2 [email protected]:~/demo$ ls
  3 app  config     db       Gemfile.lock  log     Rakefile   test  vendor
  4 bin  config.ru  Gemfile  lib           public  README.md  tmp
  5 [email protected]:~/demo$ cd bin/
  6 [email protected]:~/demo/bin$ rails s
  7 => Booting Puma
  8 => Rails 5.0.2 application starting in development on http://localhost:3000
  9 => Run `rails server -h` for more startup options
 10 Puma starting in single mode...
 11 * Version 3.8.2 (ruby 2.2.6-p396), codename: Sassy Salamander
 12 * Min threads: 5, max threads: 5
 13 * Environment: development
 14 * Listening on tcp://localhost:3000
 15 Use Ctrl-C to stop
 16 Started GET "/" for 127.0.0.1 at 2017-04-13 00:27:10 +0800
 17 Started GET "/" for 127.0.0.1 at 2017-04-13 00:27:10 +0800
 18   ActiveRecord::SchemaMigration Load (0.5ms)  SELECT `schema_migrations`.* FROM `schema_migrations`
 19   ActiveRecord::SchemaMigration Load (1.1ms)  SELECT `schema_migrations`.* FROM `schema_migrations`
 20 Processing by SessionsController#new as HTML
 21 Processing by SessionsController#new as HTML
 22   Rendering sessions/new.html.erb within layouts/application
 23   Rendering sessions/new.html.erb within layouts/application
 24   Rendered sessions/new.html.erb within layouts/application (133.9ms)
 25   Rendered sessions/new.html.erb within layouts/application (133.9ms)
 26 Completed 200 OK in 2932ms (Views: 2883.1ms | ActiveRecord: 0.0ms)
 27
 28
 29 Completed 200 OK in 2938ms (Views: 2893.2ms | ActiveRecord: 0.0ms)
 30
 31
 32 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:27:24 +0800
 33 Processing by SessionsController#create as HTML
 34   Parameters: {"utf8"=>"?", "authenticity_token"=>"vlOQEJ/9G/BmGREqzxvGfEndqBho8dQ3gKZ9iIXWvAP/RcL+lbnFDf2dii0RmVxhvuaCrwpF4p0D7GpgWNIamg==", "session"=>{"user_id"=>"root", "password"=>"[FILTERED]"}, "button"=>""}
 35 WARNING: Active Record does not support composite primary key.
 36
 37 users has composite primary key. Composite primary key is ignored.
 38   User Load (0.4ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘root‘ AND `users`.`password_digest` = ‘123‘ LIMIT 1
 39 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"vlOQEJ/9G/BmGREqzxvGfEndqBho8dQ3gKZ9iIXWvAP/RcL+lbnFDf2dii0RmVxhvuaCrwpF4p0D7GpgWNIamg==", "session"=><ActionController::Parameters {"user_id"=>"root", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
 40 #<User id: 1, name: "root", user_id: 1, password_digest: "123", created_at: "2017-04-10 10:34:51", updated_at: "2017-04-10 10:34:51", admin: false>
 41    (0.4ms)  SELECT COUNT(*) FROM `users`
 42   User Load (0.4ms)  SELECT  `users`.* FROM `users` LIMIT 1
 43 8,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
 44 Redirected to http://localhost:3000/articles
 45 Completed 302 Found in 160ms (ActiveRecord: 2.8ms)
 46
 47
 48 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:27:24 +0800
 49 Processing by ArticlesController#index as HTML
 50   Rendering articles/index.html.erb within layouts/application
 51   Article Load (1.0ms)  SELECT `articles`.* FROM `articles`
 52   Rendered articles/index.html.erb within layouts/application (17.8ms)
 53 Completed 200 OK in 157ms (Views: 63.1ms | ActiveRecord: 2.2ms)
 54
 55
 56 Started GET "/" for 127.0.0.1 at 2017-04-13 00:27:35 +0800
 57 Processing by SessionsController#new as HTML
 58   Rendering sessions/new.html.erb within layouts/application
 59   Rendered sessions/new.html.erb within layouts/application (2.1ms)
 60 Completed 200 OK in 46ms (Views: 45.0ms | ActiveRecord: 0.0ms)
 61
 62
 63 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:27:40 +0800
 64 Processing by SessionsController#create as HTML
 65   Parameters: {"utf8"=>"?", "authenticity_token"=>"mZ1Z1dKTWPkrSAvLvqtCXxIvFQ/z/c+UGOwA2IlBjZ/i10HOInXe6X2rYBIFWyvqg+O6mU9BjbBYDNzgT3pCbA==", "session"=>{"user_id"=>"jack", "password"=>"[FILTERED]"}, "button"=>""}
 66   User Load (1.0ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘jack‘ AND `users`.`password_digest` = ‘456‘ LIMIT 1
 67 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"mZ1Z1dKTWPkrSAvLvqtCXxIvFQ/z/c+UGOwA2IlBjZ/i10HOInXe6X2rYBIFWyvqg+O6mU9BjbBYDNzgT3pCbA==", "session"=><ActionController::Parameters {"user_id"=>"jack", "password"=>"456"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
 68 #<User id: 3, name: "jack", user_id: 3, password_digest: "456", created_at: "2017-04-10 10:50:15", updated_at: "2017-04-10 10:50:15", admin: true>
 69    (0.6ms)  SELECT COUNT(*) FROM `users`
 70   User Load (0.6ms)  SELECT  `users`.* FROM `users` LIMIT 1
 71 8,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
 72 Redirected to http://localhost:3000/welcome/index
 73 Completed 302 Found in 11ms (ActiveRecord: 2.1ms)
 74
 75
 76 Started GET "/welcome/index" for 127.0.0.1 at 2017-04-13 00:27:40 +0800
 77 Processing by WelcomeController#index as HTML
 78   Rendering welcome/index.html.erb within layouts/application
 79   Rendered welcome/index.html.erb within layouts/application (0.8ms)
 80 Completed 200 OK in 90ms (Views: 43.1ms | ActiveRecord: 0.0ms)
 81
 82
 83 Started GET "/users/new" for 127.0.0.1 at 2017-04-13 00:30:24 +0800
 84 Processing by UsersController#new as HTML
 85   Rendering users/new.html.erb within layouts/application
 86   Rendered users/new.html.erb within layouts/application (5.1ms)
 87 Completed 200 OK in 61ms (Views: 50.9ms | ActiveRecord: 0.0ms)
 88
 89
 90 Started POST "/users" for 127.0.0.1 at 2017-04-13 00:31:01 +0800
 91 Processing by UsersController#create as HTML
 92   Parameters: {"utf8"=>"?", "authenticity_token"=>"gq1m66NcDkMYgOO4Iv9xgkb9kluWtvklpAXruyRihmNe5JX99gTjmdGyz5fFq0hvHGCQa9QBUbQBJi4K3WZ22w==", "user"=>{"name"=>"water", "admin"=>"0", "password_digest"=>"[FILTERED]", "password_digest_confirmation"=>"[FILTERED]"}, "commit"=>"提交"}
 93 Unpermitted parameter: password_digest_confirmation
 94    (0.4ms)  BEGIN
 95   SQL (28.3ms)  INSERT INTO `users` (`name`, `password_digest`, `created_at`, `updated_at`, `admin`) VALUES (‘water‘, ‘123‘, ‘2017-04-12 16:31:01‘, ‘2017-04-12 16:31:01‘, 0)
 96    (89.8ms)  COMMIT
 97    (0.3ms)  BEGIN
 98    (0.3ms)  COMMIT
 99 Redirected to http://localhost:3000/sessions/new
100 Completed 302 Found in 128ms (ActiveRecord: 119.0ms)
101
102
103 Started GET "/sessions/new" for 127.0.0.1 at 2017-04-13 00:31:01 +0800
104 Processing by SessionsController#new as HTML
105   Rendering sessions/new.html.erb within layouts/application
106   Rendered sessions/new.html.erb within layouts/application (2.2ms)
107 Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.0ms)
108
109
110 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:31:23 +0800
111 Processing by SessionsController#create as HTML
112   Parameters: {"utf8"=>"?", "authenticity_token"=>"QHMCed1zhiyOSbV0fv3xgXcIep6d3VANy1b+BQiD3e4BZVCX1zdY0RXNLnOgf2ucgDNQKf9pZqdIHOnt1Yd7dw==", "session"=>{"user_id"=>"water", "password"=>"[FILTERED]"}, "button"=>""}
113   User Load (1.1ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘water‘ AND `users`.`password_digest` = ‘123‘ LIMIT 1
114 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"QHMCed1zhiyOSbV0fv3xgXcIep6d3VANy1b+BQiD3e4BZVCX1zdY0RXNLnOgf2ucgDNQKf9pZqdIHOnt1Yd7dw==", "session"=><ActionController::Parameters {"user_id"=>"water", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
115 #<User id: 0, name: "water", user_id: 12, password_digest: "123", created_at: "2017-04-12 16:31:01", updated_at: "2017-04-12 16:31:01", admin: false>
116    (0.5ms)  SELECT COUNT(*) FROM `users`
117   User Load (0.4ms)  SELECT  `users`.* FROM `users` LIMIT 1
118 9,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
119 Redirected to http://localhost:3000/articles
120 Completed 302 Found in 10ms (ActiveRecord: 2.0ms)
121
122
123 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:31:23 +0800
124 Processing by ArticlesController#index as HTML
125   Rendering articles/index.html.erb within layouts/application
126   Article Load (1.6ms)  SELECT `articles`.* FROM `articles`
127   Rendered articles/index.html.erb within layouts/application (9.9ms)
128 Completed 200 OK in 64ms (Views: 60.6ms | ActiveRecord: 1.6ms)
129
130
131 Started DELETE "/articles/14" for 127.0.0.1 at 2017-04-13 00:31:41 +0800
132 Processing by ArticlesController#destroy as HTML
133   Parameters: {"authenticity_token"=>"noMknPbK0U+iV3Hn+gs5IVnh5k55kih55zVTeIONFynflXZy/I4PsjnT6uAkiaM8rtrM+RsmHtNkf0SQXomxsA==", "id"=>"14"}
134   Article Load (0.7ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 14 LIMIT 1
135    (0.8ms)  BEGIN
136   Comment Load (1.3ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 14
137   SQL (18.2ms)  DELETE FROM `articles` WHERE `articles`.`id` = 14
138    (35.2ms)  COMMIT
139 Redirected to http://localhost:3000/articles
140 Completed 302 Found in 132ms (ActiveRecord: 57.9ms)
141
142
143 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:31:41 +0800
144 Processing by ArticlesController#index as HTML
145   Rendering articles/index.html.erb within layouts/application
146   Article Load (0.5ms)  SELECT `articles`.* FROM `articles`
147   Rendered articles/index.html.erb within layouts/application (5.3ms)
148 Completed 200 OK in 48ms (Views: 44.6ms | ActiveRecord: 0.5ms)
149
150
151 Started GET "/articles/15" for 127.0.0.1 at 2017-04-13 00:31:50 +0800
152 Processing by ArticlesController#show as HTML
153   Parameters: {"id"=>"15"}
154   Article Load (0.7ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 15 LIMIT 1
155   Rendering articles/show.html.erb within layouts/application
156   Comment Load (0.6ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 15
157   Rendered collection of templates [0 times] (0.1ms)
158   Rendered comments/_form.html.erb (45.9ms)
159   Rendered articles/show.html.erb within layouts/application (73.3ms)
160 Completed 200 OK in 127ms (Views: 114.8ms | ActiveRecord: 2.0ms)
161
162
163 Started GET "/" for 127.0.0.1 at 2017-04-13 00:32:35 +0800
164 Processing by SessionsController#new as HTML
165   Rendering sessions/new.html.erb within layouts/application
166   Rendered sessions/new.html.erb within layouts/application (2.3ms)
167 Completed 200 OK in 46ms (Views: 44.0ms | ActiveRecord: 0.0ms)
168
169
170 Started GET "/users/new" for 127.0.0.1 at 2017-04-13 00:32:54 +0800
171 Processing by UsersController#new as HTML
172   Rendering users/new.html.erb within layouts/application
173   Rendered users/new.html.erb within layouts/application (3.7ms)
174 Completed 200 OK in 49ms (Views: 47.8ms | ActiveRecord: 0.0ms)
175
176
177 Started POST "/users" for 127.0.0.1 at 2017-04-13 00:33:32 +0800
178 Processing by UsersController#create as HTML
179   Parameters: {"utf8"=>"?", "authenticity_token"=>"WAyPQNF7GewKuM/xVrRXXEUmm0mBD7jdDNcYbLkoyXiwK7h+KxmRUhZv7WZcb7Kc77XqPyN/AwTBZQBpfPyrMw==", "user"=>{"name"=>"game", "admin"=>"1", "password_digest"=>"[FILTERED]", "password_digest_confirmation"=>"[FILTERED]"}, "commit"=>"提交"}
180 Unpermitted parameter: password_digest_confirmation
181    (0.2ms)  BEGIN
182   SQL (0.7ms)  INSERT INTO `users` (`name`, `password_digest`, `created_at`, `updated_at`) VALUES (‘game‘, ‘123‘, ‘2017-04-12 16:33:32‘, ‘2017-04-12 16:33:32‘)
183    (110.7ms)  COMMIT
184    (0.2ms)  BEGIN
185    (0.2ms)  COMMIT
186 Redirected to http://localhost:3000/sessions/new
187 Completed 302 Found in 118ms (ActiveRecord: 112.0ms)
188
189
190 Started GET "/sessions/new" for 127.0.0.1 at 2017-04-13 00:33:32 +0800
191 Processing by SessionsController#new as HTML
192   Rendering sessions/new.html.erb within layouts/application
193   Rendered sessions/new.html.erb within layouts/application (2.0ms)
194 Completed 200 OK in 42ms (Views: 41.3ms | ActiveRecord: 0.0ms)
195
196
197 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:34:47 +0800
198 Processing by SessionsController#create as HTML
199   Parameters: {"utf8"=>"?", "authenticity_token"=>"3yxAczvctv9R6jr5ekgO+CidGIWlmuky63C8Og+PBJCkZlhoyzow7wcJUSDBuGdNuVG3ExkmqxarkGACybTLYw==", "session"=>{"user_id"=>"game", "password"=>"[FILTERED]"}, "button"=>""}
200   User Load (0.5ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘game‘ AND `users`.`password_digest` = ‘123‘ LIMIT 1
201 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"3yxAczvctv9R6jr5ekgO+CidGIWlmuky63C8Og+PBJCkZlhoyzow7wcJUSDBuGdNuVG3ExkmqxarkGACybTLYw==", "session"=><ActionController::Parameters {"user_id"=>"game", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
202 #<User id: 0, name: "game", user_id: 13, password_digest: "123", created_at: "2017-04-12 16:33:32", updated_at: "2017-04-12 16:33:32", admin: true>
203    (0.4ms)  SELECT COUNT(*) FROM `users`
204   User Load (0.5ms)  SELECT  `users`.* FROM `users` LIMIT 1
205 10,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
206 Redirected to http://localhost:3000/welcome/index
207 Completed 302 Found in 8ms (ActiveRecord: 1.4ms)
208
209
210 Started GET "/welcome/index" for 127.0.0.1 at 2017-04-13 00:34:47 +0800
211 Processing by WelcomeController#index as HTML
212   Rendering welcome/index.html.erb within layouts/application
213   Rendered welcome/index.html.erb within layouts/application (0.7ms)
214 Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.0ms)
215
216
217 Started GET "/articles/new" for 127.0.0.1 at 2017-04-13 00:34:58 +0800
218 Processing by ArticlesController#new as HTML
219   Rendering articles/new.html.erb within layouts/application
220   Rendered articles/_form.html.erb (3.0ms)
221   Rendered articles/new.html.erb within layouts/application (62.2ms)
222 Completed 200 OK in 132ms (Views: 117.0ms | ActiveRecord: 0.0ms)
223
224
225 Started POST "/articles" for 127.0.0.1 at 2017-04-13 00:36:34 +0800
226 Processing by ArticlesController#create as HTML
227   Parameters: {"utf8"=>"?", "authenticity_token"=>"gluyVj0n+cWqIBA2gK0/wHhKDXcJ/2lKmEorGX5DfvKGFefdc9/G4riYWYyr/ffcF9f4DqZXMPS2W+jSOI3kkA==", "article"=>{"text"=>"请问猫猫为啥不爱狗??"}, "commit"=>"Create Article"}
228    (0.2ms)  BEGIN
229   SQL (0.4ms)  INSERT INTO `articles` (`text`, `created_at`, `updated_at`, `user_id`, `name`) VALUES (‘请问猫猫为啥不爱狗??‘, ‘2017-04-12 16:36:34‘, ‘2017-04-12 16:36:34‘, 0, ‘game‘)
230    (66.1ms)  COMMIT
231 Redirected to http://localhost:3000/articles/52
232 Completed 302 Found in 73ms (ActiveRecord: 66.8ms)
233
234
235 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:36:34 +0800
236 Processing by ArticlesController#show as HTML
237   Parameters: {"id"=>"52"}
238   Article Load (0.6ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
239   Rendering articles/show.html.erb within layouts/application
240   Comment Load (0.7ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
241   Rendered collection of templates [0 times] (0.0ms)
242   Rendered articles/show.html.erb within layouts/application (5.3ms)
243 Completed 200 OK in 53ms (Views: 49.3ms | ActiveRecord: 1.3ms)
244
245
246 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:36:48 +0800
247 Processing by ArticlesController#index as HTML
248   Rendering articles/index.html.erb within layouts/application
249   Article Load (0.9ms)  SELECT `articles`.* FROM `articles`
250   Rendered articles/index.html.erb within layouts/application (5.7ms)
251 Completed 200 OK in 56ms (Views: 53.5ms | ActiveRecord: 0.9ms)
252
253
254 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:36:56 +0800
255 Processing by ArticlesController#show as HTML
256   Parameters: {"id"=>"52"}
257   Article Load (0.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
258   Rendering articles/show.html.erb within layouts/application
259   Comment Load (0.5ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
260   Rendered collection of templates [0 times] (0.0ms)
261   Rendered articles/show.html.erb within layouts/application (4.7ms)
262 Completed 200 OK in 56ms (Views: 51.9ms | ActiveRecord: 1.1ms)
263
264
265 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:36:58 +0800
266 Processing by ArticlesController#index as HTML
267   Rendering articles/index.html.erb within layouts/application
268   Article Load (0.9ms)  SELECT `articles`.* FROM `articles`
269   Rendered articles/index.html.erb within layouts/application (6.4ms)
270 Completed 200 OK in 59ms (Views: 55.0ms | ActiveRecord: 0.9ms)
271
272
273 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:37:31 +0800
274 Processing by SessionsController#create as HTML
275   Parameters: {"utf8"=>"?", "authenticity_token"=>"s1Asxu+hqARxf9vRms9uxw5DjvoAmVc5/58xv1c9hFHyRn4o5eV2+er7QNZETfTa+XikTWItYZN81SZXijkiyA==", "session"=>{"user_id"=>"root", "password"=>"[FILTERED]"}, "button"=>""}
276   User Load (0.8ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘root‘ AND `users`.`password_digest` = ‘123‘ LIMIT 1
277 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"s1Asxu+hqARxf9vRms9uxw5DjvoAmVc5/58xv1c9hFHyRn4o5eV2+er7QNZETfTa+XikTWItYZN81SZXijkiyA==", "session"=><ActionController::Parameters {"user_id"=>"root", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
278 #<User id: 1, name: "root", user_id: 1, password_digest: "123", created_at: "2017-04-10 10:34:51", updated_at: "2017-04-10 10:34:51", admin: false>
279    (0.3ms)  SELECT COUNT(*) FROM `users`
280   User Load (0.2ms)  SELECT  `users`.* FROM `users` LIMIT 1
281 10,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
282 Redirected to http://localhost:3000/articles
283 Completed 302 Found in 7ms (ActiveRecord: 1.4ms)
284
285
286 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:37:31 +0800
287 Processing by ArticlesController#index as HTML
288   Rendering articles/index.html.erb within layouts/application
289   Article Load (0.4ms)  SELECT `articles`.* FROM `articles`
290   Rendered articles/index.html.erb within layouts/application (5.2ms)
291 Completed 200 OK in 52ms (Views: 50.1ms | ActiveRecord: 0.4ms)
292
293
294 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:37:39 +0800
295 Processing by ArticlesController#show as HTML
296   Parameters: {"id"=>"52"}
297   Article Load (0.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
298   Rendering articles/show.html.erb within layouts/application
299   Comment Load (0.5ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
300   Rendered collection of templates [0 times] (0.0ms)
301   Rendered comments/_form.html.erb (6.4ms)
302   Rendered articles/show.html.erb within layouts/application (11.3ms)
303 Completed 200 OK in 52ms (Views: 48.6ms | ActiveRecord: 1.0ms)
304
305
306 Started POST "/articles/52/comments" for 127.0.0.1 at 2017-04-13 00:38:43 +0800
307 Processing by CommentsController#create as HTML
308   Parameters: {"utf8"=>"?", "authenticity_token"=>"sGS4gNPXG/wn7BqC0qaLZp7lBBj4yBu//QjW1kb+zz25dtu+lHutOy+ypwgwWR1zB2IU0eXIipY7oueEAp4OZg==", "comment"=>{"body"=>"你不是猫猫,怎么知道她是否心中已有人啦"}, "commit"=>"Create Comment", "article_id"=>"52"}
309   Article Load (0.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
310    (0.6ms)  BEGIN
311   SQL (0.5ms)  INSERT INTO `comments` (`body`, `article_id`, `created_at`, `updated_at`) VALUES (‘你不是猫猫,怎么知道她是否心中已有人啦‘, 52, ‘2017-04-12 16:38:43‘, ‘2017-04-12 16:38:43‘)
312    (33.4ms)  COMMIT
313    (0.2ms)  BEGIN
314   SQL (17.3ms)  UPDATE `comments` SET `commenter` = ‘root‘, `user_id` = 1 WHERE `comments`.`id` = 54
315    (79.6ms)  COMMIT
316 Redirected to http://localhost:3000/articles/52
317 Completed 302 Found in 144ms (ActiveRecord: 132.2ms)
318
319
320 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:38:43 +0800
321 Processing by ArticlesController#show as HTML
322   Parameters: {"id"=>"52"}
323   Article Load (0.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
324   Rendering articles/show.html.erb within layouts/application
325   Comment Load (0.6ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
326   Rendered collection of comments/_comment.html.erb [1 times] (1.8ms)
327   Rendered comments/_form.html.erb (4.8ms)
328   Rendered articles/show.html.erb within layouts/application (33.5ms)
329 Completed 200 OK in 79ms (Views: 76.2ms | ActiveRecord: 1.1ms)
330
331
332 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:38:57 +0800
333 Processing by ArticlesController#index as HTML
334   Rendering articles/index.html.erb within layouts/application
335   Article Load (0.5ms)  SELECT `articles`.* FROM `articles`
336   Rendered articles/index.html.erb within layouts/application (6.8ms)
337 Completed 200 OK in 49ms (Views: 46.4ms | ActiveRecord: 0.5ms)
338
339
340 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:38:59 +0800
341 Processing by ArticlesController#show as HTML
342   Parameters: {"id"=>"52"}
343   Article Load (0.6ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
344   Rendering articles/show.html.erb within layouts/application
345   Comment Load (0.7ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
346   Rendered collection of comments/_comment.html.erb [1 times] (2.1ms)
347   Rendered comments/_form.html.erb (4.5ms)
348   Rendered articles/show.html.erb within layouts/application (15.0ms)
349 Completed 200 OK in 56ms (Views: 52.2ms | ActiveRecord: 1.3ms)
350
351
352 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:39:13 +0800
353 Processing by ArticlesController#index as HTML
354   Rendering articles/index.html.erb within layouts/application
355   Article Load (0.4ms)  SELECT `articles`.* FROM `articles`
356   Rendered articles/index.html.erb within layouts/application (3.6ms)
357 Completed 200 OK in 41ms (Views: 38.6ms | ActiveRecord: 0.4ms)
358
359
360 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:39:15 +0800
361 Processing by ArticlesController#show as HTML
362   Parameters: {"id"=>"52"}
363   Article Load (0.6ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
364   Rendering articles/show.html.erb within layouts/application
365   Comment Load (0.6ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
366   Rendered collection of comments/_comment.html.erb [1 times] (1.4ms)
367   Rendered articles/show.html.erb within layouts/application (7.4ms)
368 Completed 200 OK in 49ms (Views: 45.9ms | ActiveRecord: 1.3ms)
369
370
371 Started GET "/" for 127.0.0.1 at 2017-04-13 00:40:39 +0800
372 Processing by SessionsController#new as HTML
373   Rendering sessions/new.html.erb within layouts/application
374   Rendered sessions/new.html.erb within layouts/application (2.9ms)
375 Completed 200 OK in 43ms (Views: 42.2ms | ActiveRecord: 0.0ms)
376
377
378 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:40:56 +0800
379 Processing by SessionsController#create as HTML
380   Parameters: {"utf8"=>"?", "authenticity_token"=>"ilKqUe8HlckjmurLfPvg4MyI/IM6xhDDO8w23+RFzvDxGLJKH+ET2XV5gRLHC4lVXURTFYZ6Uud7LOrnIn4BAw==", "session"=>{"user_id"=>"admin", "password"=>"[FILTERED]"}, "button"=>""}
381   User Load (0.6ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘admin‘ AND `users`.`password_digest` = ‘111‘ LIMIT 1
382 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"ilKqUe8HlckjmurLfPvg4MyI/IM6xhDDO8w23+RFzvDxGLJKH+ET2XV5gRLHC4lVXURTFYZ6Uud7LOrnIn4BAw==", "session"=><ActionController::Parameters {"user_id"=>"admin", "password"=>"111"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
383 nil
384    (0.4ms)  SELECT COUNT(*) FROM `users`
385   User Load (0.3ms)  SELECT  `users`.* FROM `users` LIMIT 1
386 10,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
387   Rendering sessions/new.html.erb within layouts/application
388   Rendered sessions/new.html.erb within layouts/application (3.1ms)
389 Completed 200 OK in 46ms (Views: 40.0ms | ActiveRecord: 1.2ms)
390
391
392 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:41:03 +0800
393 Processing by SessionsController#create as HTML
394   Parameters: {"utf8"=>"?", "authenticity_token"=>"Eh4sZzmbylOtzHBXXRT/8fLTECyGpU3qIWXP5N8oZEtpVDR8yX1MQ/svG47m5JZEYx+/ujoZD85hhRPcGROruA==", "session"=>{"user_id"=>"admin", "password"=>"[FILTERED]"}, "button"=>""}
395   User Load (0.6ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘admin‘ AND `users`.`password_digest` = ‘123‘ LIMIT 1
396 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"Eh4sZzmbylOtzHBXXRT/8fLTECyGpU3qIWXP5N8oZEtpVDR8yX1MQ/svG47m5JZEYx+/ujoZD85hhRPcGROruA==", "session"=><ActionController::Parameters {"user_id"=>"admin", "password"=>"123"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
397 nil
398    (0.3ms)  SELECT COUNT(*) FROM `users`
399   User Load (0.5ms)  SELECT  `users`.* FROM `users` LIMIT 1
400 10,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
401   Rendering sessions/new.html.erb within layouts/application
402   Rendered sessions/new.html.erb within layouts/application (3.5ms)
403 Completed 200 OK in 48ms (Views: 41.4ms | ActiveRecord: 1.4ms)
404
405
406 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:41:11 +0800
407 Processing by SessionsController#create as HTML
408   Parameters: {"utf8"=>"?", "authenticity_token"=>"+VB8psuBLq5i4Ce9l9ZKUlKSECeq+5jXO9ZnPTvLUkGCGmS9O2eovjQDTGQsJiPnw16/sRZH2vN7NrsF/fCdsg==", "session"=>{"user_id"=>"admin", "password"=>"[FILTERED]"}, "button"=>""}
409   User Load (0.6ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘admin‘ AND `users`.`password_digest` = ‘000‘ LIMIT 1
410 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"+VB8psuBLq5i4Ce9l9ZKUlKSECeq+5jXO9ZnPTvLUkGCGmS9O2eovjQDTGQsJiPnw16/sRZH2vN7NrsF/fCdsg==", "session"=><ActionController::Parameters {"user_id"=>"admin", "password"=>"000"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
411 #<User id: 4, name: "admin", user_id: 4, password_digest: "000", created_at: "2017-04-12 02:30:55", updated_at: "2017-04-12 02:30:55", admin: false>
412    (0.5ms)  SELECT COUNT(*) FROM `users`
413   User Load (0.4ms)  SELECT  `users`.* FROM `users` LIMIT 1
414 10,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
415 Redirected to http://localhost:3000/articles
416 Completed 302 Found in 7ms (ActiveRecord: 1.5ms)
417
418
419 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:41:11 +0800
420 Processing by ArticlesController#index as HTML
421   Rendering articles/index.html.erb within layouts/application
422   Article Load (0.5ms)  SELECT `articles`.* FROM `articles`
423   Rendered articles/index.html.erb within layouts/application (6.3ms)
424 Completed 200 OK in 60ms (Views: 57.7ms | ActiveRecord: 0.5ms)
425
426
427 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:41:19 +0800
428 Processing by ArticlesController#show as HTML
429   Parameters: {"id"=>"52"}
430   Article Load (0.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
431   Rendering articles/show.html.erb within layouts/application
432   Comment Load (1.8ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
433   Rendered collection of comments/_comment.html.erb [1 times] (2.1ms)
434   Rendered comments/_form.html.erb (3.4ms)
435   Rendered articles/show.html.erb within layouts/application (13.4ms)
436 Completed 200 OK in 62ms (Views: 57.6ms | ActiveRecord: 2.3ms)
437
438
439 Started POST "/articles/52/comments" for 127.0.0.1 at 2017-04-13 00:42:05 +0800
440 Processing by CommentsController#create as HTML
441   Parameters: {"utf8"=>"?", "authenticity_token"=>"sbiirzqJquwasJ13HHbyvP6ffLWrLsEcZdgeSdrVwFBxkRbkeDatZvOfPsqp6EDLY2MIUzT3gESAsryMvP9X+A==", "comment"=>{"body"=>"猫猫或许是个自恋的物种"}, "commit"=>"Create Comment", "article_id"=>"52"}
442   Article Load (1.2ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
443    (0.3ms)  BEGIN
444   SQL (0.5ms)  INSERT INTO `comments` (`body`, `article_id`, `created_at`, `updated_at`) VALUES (‘猫猫或许是个自恋的物种‘, 52, ‘2017-04-12 16:42:05‘, ‘2017-04-12 16:42:05‘)
445    (68.8ms)  COMMIT
446    (0.3ms)  BEGIN
447   SQL (0.7ms)  UPDATE `comments` SET `commenter` = ‘admin‘, `user_id` = 4 WHERE `comments`.`id` = 55
448    (63.1ms)  COMMIT
449 Redirected to http://localhost:3000/articles/52
450 Completed 302 Found in 146ms (ActiveRecord: 134.9ms)
451
452
453 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:42:05 +0800
454 Processing by ArticlesController#show as HTML
455   Parameters: {"id"=>"52"}
456   Article Load (0.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
457   Rendering articles/show.html.erb within layouts/application
458   Comment Load (0.6ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
459   Rendered collection of comments/_comment.html.erb [2 times] (3.0ms)
460   Rendered comments/_form.html.erb (3.8ms)
461   Rendered articles/show.html.erb within layouts/application (12.6ms)
462 Completed 200 OK in 63ms (Views: 59.6ms | ActiveRecord: 1.1ms)
463
464
465 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:42:37 +0800
466 Processing by ArticlesController#index as HTML
467   Rendering articles/index.html.erb within layouts/application
468   Article Load (0.5ms)  SELECT `articles`.* FROM `articles`
469   Rendered articles/index.html.erb within layouts/application (7.0ms)
470 Completed 200 OK in 56ms (Views: 52.0ms | ActiveRecord: 0.5ms)
471
472
473 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:42:38 +0800
474 Processing by ArticlesController#show as HTML
475   Parameters: {"id"=>"52"}
476   Article Load (0.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
477   Rendering articles/show.html.erb within layouts/application
478   Comment Load (0.6ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
479   Rendered collection of comments/_comment.html.erb [2 times] (1.7ms)
480   Rendered comments/_form.html.erb (5.5ms)
481   Rendered articles/show.html.erb within layouts/application (14.1ms)
482 Completed 200 OK in 59ms (Views: 54.9ms | ActiveRecord: 1.0ms)
483
484
485 Started GET "/" for 127.0.0.1 at 2017-04-13 00:42:44 +0800
486 Processing by SessionsController#new as HTML
487   Rendering sessions/new.html.erb within layouts/application
488   Rendered sessions/new.html.erb within layouts/application (5.1ms)
489 Completed 200 OK in 48ms (Views: 45.9ms | ActiveRecord: 0.0ms)
490
491
492 Started POST "/sessions/create" for 127.0.0.1 at 2017-04-13 00:42:48 +0800
493 Processing by SessionsController#create as HTML
494   Parameters: {"utf8"=>"?", "authenticity_token"=>"k07cg3/QJcqw008pd556B+Ru2GZQ91BHuZX4n7wCYPboBMSYjzaj2uYwJPDMbhOydaJ38OxLEmP5dSSnejmvBQ==", "session"=>{"user_id"=>"jack", "password"=>"[FILTERED]"}, "button"=>""}
495   User Load (0.5ms)  SELECT  `users`.* FROM `users` WHERE `users`.`name` = ‘jack‘ AND `users`.`password_digest` = ‘456‘ LIMIT 1
496 <ActionController::Parameters {"utf8"=>"?", "authenticity_token"=>"k07cg3/QJcqw008pd556B+Ru2GZQ91BHuZX4n7wCYPboBMSYjzaj2uYwJPDMbhOydaJ38OxLEmP5dSSnejmvBQ==", "session"=><ActionController::Parameters {"user_id"=>"jack", "password"=>"456"} permitted: false>, "button"=>"", "controller"=>"sessions", "action"=>"create"} permitted: false>
497 #<User id: 3, name: "jack", user_id: 3, password_digest: "456", created_at: "2017-04-10 10:50:15", updated_at: "2017-04-10 10:50:15", admin: true>
498    (0.9ms)  SELECT COUNT(*) FROM `users`
499   User Load (0.5ms)  SELECT  `users`.* FROM `users` LIMIT 1
500 10,#<User id: 0, name: "here", user_id: 9, password_digest: "111", created_at: "2017-04-12 11:18:10", updated_at: "2017-04-12 11:18:10", admin: true>
501 Redirected to http://localhost:3000/welcome/index
502 Completed 302 Found in 15ms (ActiveRecord: 1.8ms)
503
504
505 Started GET "/welcome/index" for 127.0.0.1 at 2017-04-13 00:42:48 +0800
506 Processing by WelcomeController#index as HTML
507   Rendering welcome/index.html.erb within layouts/application
508   Rendered welcome/index.html.erb within layouts/application (0.6ms)
509 Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.0ms)
510
511
512 Started GET "/articles/new" for 127.0.0.1 at 2017-04-13 00:42:50 +0800
513 Processing by ArticlesController#new as HTML
514   Rendering articles/new.html.erb within layouts/application
515   Rendered articles/_form.html.erb (2.1ms)
516   Rendered articles/new.html.erb within layouts/application (3.3ms)
517 Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.0ms)
518
519
520 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:42:51 +0800
521 Processing by ArticlesController#index as HTML
522   Rendering articles/index.html.erb within layouts/application
523   Article Load (0.5ms)  SELECT `articles`.* FROM `articles`
524   Rendered articles/index.html.erb within layouts/application (6.8ms)
525 Completed 200 OK in 54ms (Views: 51.6ms | ActiveRecord: 0.5ms)
526
527
528 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:42:53 +0800
529 Processing by ArticlesController#show as HTML
530   Parameters: {"id"=>"52"}
531   Article Load (0.6ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
532   Rendering articles/show.html.erb within layouts/application
533   Comment Load (0.8ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
534   Rendered collection of comments/_comment.html.erb [2 times] (1.7ms)
535   Rendered articles/show.html.erb within layouts/application (7.1ms)
536 Completed 200 OK in 51ms (Views: 47.8ms | ActiveRecord: 1.3ms)
537
538
539 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:43:31 +0800
540 Processing by ArticlesController#index as HTML
541   Rendering articles/index.html.erb within layouts/application
542   Article Load (0.6ms)  SELECT `articles`.* FROM `articles`
543   Rendered articles/index.html.erb within layouts/application (7.5ms)
544 Completed 200 OK in 60ms (Views: 56.3ms | ActiveRecord: 0.6ms)
545
546
547 Started DELETE "/articles/52/comments/54" for 127.0.0.1 at 2017-04-13 00:45:25 +0800
548 Processing by CommentsController#destroy as HTML
549   Parameters: {"authenticity_token"=>"hpjbO/YHFfNdYS6S39n+/GZpfWP5gTs4ZjSw0Aza9a790sMgBuGT4wuCRUtkKZdJ96XS9UU9eRwm1GzoyuE6XQ==", "article_id"=>"52", "id"=>"54"}
550   Article Load (1.5ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
551   Comment Load (0.7ms)  SELECT  `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52 AND `comments`.`id` = 54 LIMIT 1
552    (0.2ms)  BEGIN
553   SQL (0.9ms)  DELETE FROM `comments` WHERE `comments`.`id` = 54
554    (73.2ms)  COMMIT
555 Redirected to http://localhost:3000/articles/52
556 Completed 302 Found in 85ms (ActiveRecord: 76.4ms)
557
558
559 Started GET "/articles/52" for 127.0.0.1 at 2017-04-13 00:45:25 +0800
560 Processing by ArticlesController#show as HTML
561   Parameters: {"id"=>"52"}
562   Article Load (0.4ms)  SELECT  `articles`.* FROM `articles` WHERE `articles`.`id` = 52 LIMIT 1
563   Rendering articles/show.html.erb within layouts/application
564   Comment Load (0.7ms)  SELECT `comments`.* FROM `comments` WHERE `comments`.`article_id` = 52
565   Rendered collection of comments/_comment.html.erb [1 times] (1.3ms)
566   Rendered articles/show.html.erb within layouts/application (7.0ms)
567 Completed 200 OK in 44ms (Views: 41.1ms | ActiveRecord: 1.1ms)
568
569
570 Started GET "/articles" for 127.0.0.1 at 2017-04-13 00:45:28 +0800
571 Processing by ArticlesController#index as HTML
572   Rendering articles/index.html.erb within layouts/application
573   Article Load (0.7ms)  SELECT `articles`.* FROM `articles`
574   Rendered articles/index.html.erb within layouts/application (5.7ms)
575 Completed 200 OK in 49ms (Views: 46.6ms | ActiveRecord: 0.7ms)

工程位置

1 [email protected]:~$ cd demo/
2 [email protected]:~/demo$ ls
3 app  config     db       Gemfile.lock  log     Rakefile   test  vendor
4 bin  config.ru  Gemfile  lib           public  README.md  tmp
5 [email protected]:~/demo$ 

navicat_mysql 位置及其启动
 1 [email protected]:~$ cd /opt/
 2 [email protected]:/opt$ ls
 3 apache-maven-3.3.9  hadoop-1.2.1.tar.gz     nginx         sublime_text
 4 click.ubuntu.com    idea                    ruby-2.2.6    vim64
 5 eclipse             ideaIC-2016.3.4.tar.gz  sbt           vim-6.4-src1.tar.gz
 6 google              java                    scala
 7 hadoop-1.2.1        navicat_mysql           spark-hadoop
 8 [email protected]:/opt$ cd navicat_mysql/
 9 [email protected]:/opt/navicat_mysql$ ls
10 LGPLV2  Navicat  start_navicat  wine
11 [email protected]:/opt/navicat_mysql$ ./start_navicat
12 [email protected]:/opt/navicat_mysql$ 
时间: 2024-08-10 15:10:15

客服系统 rails 日志文件的相关文章

20150220 Comet反向Ajax技术-在线客服系统之服务端

20150220 Comet反向Ajax技术-在线客服系统之服务端 2015-02-20 李海沿 前面我们讲了comet反向Ajax模型原理 以及实现了简单的实时页面聊天系统. (地址:http://www.cnblogs.com/lihaiyan/p/4281049.html) 本文中,我们在它的基础上来实现一个在线客服系统的服务端. 一.搭建页面客服系统框架 1.首先新建一个kefu.html网页 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01

php开发客服系统(持久连接+轮询+反向ajax)

欢迎在php严程序 - php教程学习AJAX教程, 本节课讲解:php开发客服系统(持久连接+轮询+反向ajax) php开发客服系统(下载源码) 用户端(可直接给客户发送消息)客服端(点击用户名.即可给该用户回复消息) 讲两种实现方式:一:iframe + 服务器推技术comet(反向ajax,即服务器向浏览器推送数据)二:ajax持久连接 + 长轮询 客服端采用第一种方式:iframe + 服务器推技术思路:1:新建comentbyiframe.php 该用文件使用while(true)一

客服系统那些事

基于webrtc的客服系统,功能包括:文本聊天,语音视频聊天,发送图片,发送文件,桌面共享,电子白板. 1 文本视频聊天 3分钟实现网页版多人文本.视频聊天室 (含完整源码) 2 搭建自己的服务器 如何搭建SimpleWebRTC信令服务器 3 发送图片 js 实现"截图粘贴"及"生成网页缩略图" 4 客户列表 5 发送文件 6 桌面共享 7 电子白板

Vue在线客服系统【开源项目】

1. 项目介绍 一个基于Vue2.0的在线客服系统. 技术栈包含:Vue.VueX.Vue Router.Element UI. 2. 功能介绍 项目包含了2个模块:客服端和访客端. 2.1 客服端功能 1)文本和表情混合内容的接收和发送. 2)图片.文件的接收和发送. 运行图 2.2 访客端功能 1)文本和表情混合内容的接收和发送. 2)图片.文件的接收和发送. 3)评分. 4)留言. 5)断开连接. 运行图 3. 消息的通信分层 在客服系统项目中对消息的处理采用了2种通信方式:socket和

h5在线1v1客服|web在线客服系统|h5即时聊天

网上有很多环信.美恰之类的客服系统,最近也使用h5+css3+fontJs+swiper+wcPop等技术架构开发了一个在线客服(1v1沟通聊天),可以应用到在线临时聊天.在线咨询等情景.实现了消息.表情(含动图),图片.附件发送及商品的推送. 项目截图: 如下图:可点击"Apple官方旗舰店"或机器人按钮发起在线聊天,聊天窗口以向上弹出展示: 如下图:长按聊天信息,可出行菜单提示,操作更加方便简洁, 另外聊天背景可以自行设置: 如下图:聊天表情以弹窗定位形式展示,含有表情及动图,让聊

一个开源客服系统-wolive

开源客服系统 wolive是一款基于thinkphp5开发的开源客服系统,即时消息基于开源高性能socket框架workerman开发.支持PC浏览器和H5移动端,只需要插入一段html片段即可快速接入现有系统,支持与现有系统用户对接.经过2年的不断开发及优化,受到越来越多的客户喜爱. 开源客服系统功能 支持多商家.多客服.支持智能分流,支持访客排队认领.支持发送语音.支持视频通话,支持微信公众号.支持H5网页.支持客服转接.支持设置客服常见问题.支持自动回复.支持扩展页面编辑.支持发表情.发图

在线客服系统有哪些好处

在线客服系统在中国经历了多年的发展,已经成为网站客户服务.辅助网站销售不可缺少的工具.在线客服系统除了具备实时的网页聊天功能,还发展出弹出网页的方式主动邀请访客聊天的功能,以及文件对传功能,方便网站客服人员主动联系网站的在线访客.在线客服比传统的在线QQ有着明显的优势,在线客服无须客户端安装任何软件,可以在线直接交流.而传统的在线QQ.MSN需要安装软件才行.这对一些年龄稍大的客户是个大难题,他们一般很少有QQ,或者有上QQ的习惯. 在线客服系统 在线客服系统的优点: 1.不需要帐号支持 用户直

windows服务器清理系统垃圾日志文件

Windows服务器的系统盘如果是2003系统的话那么我们默认给10G的空间就够了,但是有时候我们不经意去查看系统盘的时候发现已经使用了9.9G,其实多是垃圾日志文件占用系统盘空间,使用如下批处理将这些文件删除. 在桌面新建一个文本文档,将如下代码复制进去: @echo off echo 正在清除系统垃圾文件,请稍等...... del /f /s /q %systemdrive%\*.tmp del /f /s /q %systemdrive%\*._mp del /f /s /q %syst

在线客服系统 开发实战系列(一:需求分析及技术方案初步选型)

在这个系列的文章里,我将尝试一步一步开发一套功能完备的在线客服系统,并最终将其开源在 Git 上,欢迎关注. 鉴于水平限制,难免有所疏漏,欢迎批评指正. 文章将分为几个部分 一.需求分析及技术方案初步选型 二.技术方案选型,验证 三.底层框架设计,开发 四.服务器设计开发 五.客户端设计开发 六.Web端设计开发 在这个系列的文章中,您将了解并学习到以下技术知识: MSMQ.YUI.WebSocket.WinForms 如果这些技术对您有用,还请您 推荐 一下本文章,谢谢! 首先我们大概看看什么