Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加 key: trade #1

Merged
merged 1 commit into from Apr 14, 2018
Merged

增加 key: trade #1

merged 1 commit into from Apr 14, 2018

Conversation

qloog
Copy link
Contributor

@qloog qloog commented Apr 13, 2018

不加这个会报错

不加这个会报错
@codecov
Copy link

codecov bot commented Apr 13, 2018

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@          Coverage Diff           @@
##             master    #1   +/-   ##
======================================
  Coverage         0%    0%           
  Complexity       71    71           
======================================
  Files             7     7           
  Lines           209   209           
======================================
  Misses          209   209
Impacted Files Coverage Δ Complexity Δ
src/Requestor.php 0% <0%> (ø) 13 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03f75d8...932a8e6. Read the comment docs.

@qloog
Copy link
Contributor Author

qloog commented Apr 13, 2018

response里的内容:

{"trade":{"num":1,"goods_kind":1,"item_id":"6656967","price":"0.01","pic_path":"https://img.yzcdn.cn/public_files/2016/12/29/33e6c838cefa614c5121c63c80f860e9.png","pic_thumb_path":"https://img.yzcdn.cn/public_files/2016/12/29/33e6c838cefa614c5121c63c80f860e9.png?imageView2/2/w/200/h/0/q/75/format/png","title":"测试商品","type":"QRCODE","discount_fee":"0.00","order_type":"6","status":"TRADE_BUYER_SIGNED","status_str":"已完成","refund_state":"NO_REFUND","shipping_type":"express","post_fee":"0.00","total_fee":"0.01","refunded_fee":"0.00","payment":"0.01","created":"2018-04-13 15:49:47","update_time":"2018-04-13 15:50:02","confirm_time":"","pay_time":"2018-04-13 15:50:02","pay_type":"WEIXIN_DAIXIAO","consign_time":"2018-04-13 15:50:02","sign_time":"2018-04-13 15:50:02","close_time":"","buyer_area":"","seller_flag":0,"buyer_message":"","orders":[{"alias":null,"oid":18162361,"new_oid":0,"outer_sku_id":"","outer_item_id":"","title":"测试商品","seller_nick":"PHPCasts","fenxiao_price":"0.00","fenxiao_payment":"0.00","price":"0.01","total_fee":"0.01","payment":"0.01","discount_fee":"0.00","sku_id":"0","sku_unique_code":"","sku_properties_name":"","pic_path":"https://img.yzcdn.cn/public_files/2016/12/29/33e6c838cefa614c5121c63c80f860e9.png","pic_thumb_path":"https://img.yzcdn.cn/public_files/2016/12/29/33e6c838cefa614c5121c63c80f860e9.png?imageView2/2/w/200/h/0/q/75/format/png","item_type":30,"buyer_messages":[],"order_promotion_details":[],"state_str":"待发货","allow_send":1,"is_send":0,"item_refund_state":"NO_REFUND","is_virtual":0,"is_present":0,"refunded_fee":"0.00","refund_id":"","unit":"件","item_id":"6656967","num":"1"}],"fetch_detail":null,"coupon_details":[],"promotion_details":[],"adjust_fee":{"change":"0.00","pay_change":"0.00","post_change":"0.00"},"sub_trades":[],"button_list":[{"tool_icon":"https://img.yzcdn.cn/upload_files/2015/08/28/FpO1UIXyOEZO026tWIgUOm9uZnT2.png","tool_title":"备注","tool_value":"","tool_type":"goto_native:trade_memo","tool_parameter":"{}","new_sign":"0","create_time":""}],"feedback_num":0,"trade_memo":"","fans_info":{"fans_nickname":"如来神掌","fans_id":"366483479","buyer_id":"15342979","fans_type":"9","fans_weixin_openid":"oHIuujrsXhwEpBe1AeVcg0qSr2Q4"},"buy_way_str":"","pf_buy_way_str":"运费到付","send_num":0,"kind":1,"relation_type":"","relations":[],"out_trade_no":[],"group_no":"","outer_user_id":0,"shop_id":"51053645","offline_id":"0","shop_type":"1","points_price":0,"delivery_start_time":0,"delivery_end_time":0,"tuan_no":"","is_tuan_head":0,"delivery_time_display":"","hotel_info":"","order_mark":"","qr_id":"6656967","lat":"","lng":"","box_price":"0.00","invoice_title":"","id_card_number":"","order_source":{"platform":"WECHAT"},"original_post_fee":"0.00","tid":"E20180413154947038727167","receiver_city":"","receiver_district":"","receiver_name":"","receiver_state":"","receiver_address":"面对面扫码收款","receiver_zip":"","receiver_mobile":"","feedback":0,"outer_tid":"4200000053201804137608565070","transaction_tid":"201804131549475969087167","period_order_detail":null,"delivery_third_party_supported":false,"delivery_list":[],"service_phone":""}}

@slince
Copy link
Owner

slince commented Apr 13, 2018

ok,回头我试下

@slince slince merged commit e033b14 into slince:master Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants