def setUp(self):
     self.url = base.get_host('/business/detail')
     id = sql.plsql()
     data = {"id": "1141531303535968356"}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #2
0
 def setUp(self):
     self.url = base.get_host('/radius/circle/contentlist?page=true')
     id = sql.bjqsql()
     data = {"radiusId": id, "sortType": 1}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
   self.url=base.get_host('/focaltopic/listbyradiustype')
   id = sql.bjqsql()
   data={"radiusTypeId":id}
   #print(data)
   data=b64.b64(data)
   self.trans=base.get_trans(data)
 def setUp(self):
   self.url=base.get_host('/radius/circle/list?page=true')
   tid = ticketid.ticketid()
   data={"curPage": 1,"pageSize": 20}
   #print(data)
   data=b64.b64(data)
   self.trans=base.get_trans(data)
 def setUp(self):
     self.url = base.get_host('/business/nearbylist?page=true')
     id = sql.plsql()
     data = {"lng": "", "lat": "", "pageSize": 20, "curPage": 1}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
     self.url = base.get_host('/radius/circle/userlist?page=true')
     id = sql.bjqsql()
     data = {"radiusId": id}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #7
0
 def setUp(self):
     self.url = base.get_host('/users/myinfo')
     #tid = ticketid.ticketid()
     data = {}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #8
0
 def setUp(self):
     self.url = base.get_host('/contentcomment/save')
     id = sql.plsql()
     data = {"contentHId": id, "contentType": 0, "content": "haha😄"}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #9
0
 def setUp(self):
     self.url = base.get_host('/focaltopic/contentlist?page=true')
     id = sql.htsql()
     data = {"topicId": id, "sortType": 1}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
     self.url = base.get_host('/radius/circle/detail')
     id = sql.bjqsql()
     data = {"id": id}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
     self.url = base.get_host('/focaltopic/detail')
     id = sql.htsql()
     data = {"id": id}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
     '''动态模块/动态信息'''
     self.url = base.get_host('/ugccontent/detail')
     id = sql.dtxqsql()
     tid = ticketid.ticketid()
     data = {"id": "1176777395743490048"}
     print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
     self.url = base.get_host('/productsku/hotsellskulistbybusinessid')
     self.data = {
         "pageSize": 10,
         "curPage": 1,
         "businessId": "1168763816725446656"
     }
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
Beispiel #14
0
 def setUp(self):
     self.url = base.get_host('/ugccontent/getaddress?page=true')
     self.data = {
         "lat": 30.605708,
         "lng": 104.068680,
         "curPage": 1,
         "pageSize": 20
     }
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
Beispiel #15
0
 def setUp(self):
     self.url = base.get_host('users/docollect')
     self.data = {
         "contentHId": "1",
         "contentType": 1,
         "lat": 30.265656,
         "lng": 104.5658995498,
         "collectType": 1
     }
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
 def setUp(self):
     self.url = base.get_host('users/resellerapply')
     data = {
         "phone": "15928009661",
         "realName": "ycc",
         "hasSelfGroup": 0,
         "hasDeliveryPoint": "1"
     }
     print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #17
0
 def setUp(self):
     '''首页模块/圈子下动态或文章'''
     self.url = base.get_host('ugccontent/pagelist?page=true')
     data = {
         "typeId": "1",
         "pageSize": 20,
         "curPage": 1,
         "lng": 104.2659898,
         "lat": 40.659898
     }
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #18
0
 def setUp(self):
     self.url = base.get_host('/order/placeorder')
     data = {
         'logisticsId':
         '',
         'picksiteId':
         '',
         'contactMobile':
         '15928009661',
         'contactName':
         '杨程晨',
         'goodsParams': [{
             'goodsId': '1179668728925567117',
             'quantity': 1,
             'activityId': '1204246392755716096',
             'goodsType': 2
         }],
         'trace_uid':
         '1036536328113618944'
     }
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
     self.url = base.get_host('advert/listbyadvert')
     self.data = {"deliveryType": 1, "siteCode": 1}
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
Beispiel #20
0
 def setUp(self):
     self.url = base.get_host('/order/cancelorder')
     self.data = {"orderId": "1225711951905030144"}
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
 def setUp(self):
     self.url = base.get_host('users/sendcode')
     self.data = {"phone": "15928009661"}
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
 def setUp(self):
   self.url=base.get_host('/productsku/skudetailbystandard')
   self.data={"spuId":"1179668728925567111","skuKey":"2"}
   self.data=b64.b64(self.data)
   self.trans=base.get_trans(self.data)
Beispiel #23
0
 def setUp(self):
     self.url = base.get_host('/order/regionlistbyregiontype')
     self.data = {"regionType": 1}
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
 def setUp(self):
     self.url = base.get_host('/order/orderdetail')
     data = {'orderId': '1225713775429025792'}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
 def setUp(self):
     self.url = base.get_host('/order/picksitelist')
     self.data = {"businessId": "1168763816725446656"}
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
 def setUp(self):
   self.url=base.get_host('/complaint/add')
   self.data={ "contentType": 1,"complaintType": 1,"complaintId": 1120624593199956000,"reason": "黄赌毒~~"}
   self.data=b64.b64(self.data)
   self.trans=base.get_trans(self.data)
 def setUp(self):
     self.url = base.get_host('/order/payment')
     self.data = {"orderId": "1225713775429025792"}
     self.data = b64.b64(self.data)
     self.trans = base.get_trans(self.data)
Beispiel #28
0
 def setUp(self):
     self.url = base.get_host('/order/cashoutrules')
     data = {}
     #print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #29
0
 def setUp(self):
     self.url = base.get_host('/users/usercontent?page=true')
     data = {"userId": "1036536328113618944", "curPage": 1, "pageSize": 20}
     print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)
Beispiel #30
0
 def setUp(self):
     self.url = base.get_host('/users/userdata')
     data = {}
     print(data)
     data = b64.b64(data)
     self.trans = base.get_trans(data)