两天了,老师都没有回我!好伤心!等啊啊!
在以下这两个地方同时打断点时:
从第一张图跳到第二张图,再跳回到第一张图,之后就这样跳到App.php到Response.php再到index.php再至Error.php再到Connection.php就走完了!
再一次把断点放在这理,点一下又跳到App.php到Response.php再到index.php再至Error.php再到Connection.php就走完了!$wxorder没有获取参数!
日志:
[ 2018-05-09T19:37:24+08:00 ] 127.0.0.1 127.0.0.1 POST /api/v1/order
[ log ] z.cn/api/v1/order [运行时间:0.221013s][吞吐率:4.52req/s] [内存消耗:2,689.43kb] [文件加载:60]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001000s ] mysql:dbname=zerg;host=127.0.0.1;port=3306;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `product` [ RunTime:0.035002s ]
[ sql ] [ SQL ] SELECT * FROM `product` WHERE `id` IN (1,2) [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `user_address` [ RunTime:0.023001s ]
[ sql ] [ SQL ] SELECT * FROM `user_address` WHERE `user_id` = 1 LIMIT 1 [ RunTime:0.001000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `order` [ RunTime:0.017001s ]
[ sql ] [ SQL ] INSERT INTO `order` (`user_id` , `order_no` , `total_price` , `total_count` , `snap_img` , `snap_name` , `snap_address` , `snap_items` , `update_time` , `create_time`) VALUES (1 , 'A509658444353061' , 121 , 3 , 'http://z.cn/images/product-vg@1.png' , '芹菜 半斤等' , '{\"name\":\"\\u6587\\u5fe0\",\"mobile\":\"13595518388\",\"province\":\"\\u8d35\\u5dde\\u4e07\\u745e\\u8fbe\",\"city\":\"\\u8d35\\u5dde\\u7701\",\"country\":\"\\u53f0\\u6c5f\\u53bf\",\"detail\":\"\\u9633\\u5149\\u6751\",\"update_time\":\"1970-01-01 08:00:00\"}' , '[{\"id\":1,\"haveStock\":true,\"counts\":1,\"price\":\"25.00\",\"name\":\"\\u82b9\\u83dc \\u534a\\u65a4\",\"totalPrice\":25,\"main_img_url\":\"http:\\/\\/z.cn\\/images\\/product-vg@1.png\"},{\"id\":2,\"haveStock\":true,\"counts\":2,\"price\":\"48.00\",\"name\":\"\\u68a8\\u82b1\\u5e26\\u96e8 3\\u4e2a\",\"totalPrice\":96,\"main_img_url\":\"http:\\/\\/z.cn\\/images\\/product-dryfruit@1.png\"}]' , 1525865844 , 1525865844) [ RunTime:0.002000s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `order_product` [ RunTime:0.016001s ]
[ sql ] [ SQL ] INSERT INTO `order_product` (`product_id` , `count` , `order_id`) VALUES (1 , 1 , 217) [ RunTime:0.001000s ]
[ sql ] [ SQL ] INSERT INTO `order_product` (`product_id` , `count` , `order_id`) VALUES (2 , 2 , 217) [ RunTime:0.000000s ]