Conditions | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 1 |
CRAP Score | 1.125 |
1 | # -*- coding: utf-8 -*- |
||
33 | 10 | def set_delivery(self, order_id, company, track_no, |
|
34 | need_delivery=1, is_others=0): |
||
35 | return self._post( |
||
36 | 'merchant/order/setdelivery', |
||
37 | data={ |
||
38 | 'order_id': order_id, |
||
39 | 'delivery_company': company, |
||
40 | 'delivery_track_no': track_no, |
||
41 | 'need_delivery': need_delivery, |
||
42 | 'is_others': is_others |
||
43 | } |
||
53 |