Commit 2e47e5ceed79ebce6fb1253cb01b376ce54990f4
1 parent
9ced5f8d
进门缴费
Showing
3 changed files
with
282 additions
and
42 deletions
commons/api/entranceFeeBillList.py
@@ -247,9 +247,182 @@ def do_doPay(host="",autocompletecartype=None,fee_str="",**kwargs): | @@ -247,9 +247,182 @@ def do_doPay(host="",autocompletecartype=None,fee_str="",**kwargs): | ||
247 | res = my.useHeadersRequests("post", url=url, data=data_uc, headers=headers) | 247 | res = my.useHeadersRequests("post", url=url, data=data_uc, headers=headers) |
248 | return res | 248 | return res |
249 | 249 | ||
250 | +def do_payOrder(host="http://test.jmsf.diligrp.com:8385",attrName="收费单号",attrValue="202108060900032"): | ||
251 | + a = listPage(host=host, attrName=attrName, attrValue=attrValue) | ||
252 | + print("listPage", a.json()) | ||
253 | + orderId = a.json()["rows"][0]["id"] | ||
254 | + number = a.json()["rows"][0]["number"] | ||
255 | + created = a.json()["rows"][0]["created"] | ||
256 | + print(orderId) | ||
257 | + | ||
258 | + # # 订单详情获取 | ||
259 | + | ||
260 | + resOrderDetails = get_OrderDetails(host=host, orderId=orderId) | ||
261 | + unitPrice = re.findall('name="unitPrice" value="(.*?)" id', resOrderDetails.text)[0] | ||
262 | + goodsId = re.findall('id="goodsId" value="(.*?)">', resOrderDetails.text)[0] | ||
263 | + status = re.findall('"status" name="status" value="(.*?)">', resOrderDetails.text)[0] | ||
264 | + source = re.findall('id="source" name="source" value="(.*?)">', resOrderDetails.text)[0] | ||
265 | + optType = re.findall('id="optType" name="optType" value="(.*?)">', resOrderDetails.text)[0] | ||
266 | + correctInfo = re.findall('d="correctInfo" name="correctInfo" value="(.*?)">', resOrderDetails.text)[0] | ||
267 | + weightType = re.findall('name="weightType" id="weightType" value="(.*?)">', resOrderDetails.text)[0] | ||
268 | + correctDiscount = re.findall('id="correctDiscount" name="correctDiscount" value="(.*?)">', resOrderDetails.text)[0] | ||
269 | + regionId = re.findall('<option value="(.*?)" bind-name="', resOrderDetails.text)[0] | ||
270 | + goodsTagIds = \ | ||
271 | + re.findall('<input name="goodsTagIds" type="radio" value="(.*?)" readonly checked>', resOrderDetails.text)[0] | ||
272 | + sumPrice = re.findall('<input type="hidden" name="sumPrice" value="(.*?)" id="sumPrice">', resOrderDetails.text)[0] | ||
273 | + calcFeeDepId = re.findall('<input type="hidden" name="calcFeeDepId" value="(.*?)">', resOrderDetails.text)[0] | ||
274 | + tradeTypeId = \ | ||
275 | + re.findall('input type="hidden" class="form-control" name="tradeTypeId" value="(.*?)" >', resOrderDetails.text)[0] | ||
276 | + shareRatio = \ | ||
277 | + re.findall('input type="hidden" id="shareRatioVal" name="shareRatio" value="(.*?)"', resOrderDetails.text)[0] | ||
278 | + regionName = re.findall('" bind-name="(.*?)"', resOrderDetails.text)[0] | ||
279 | + | ||
280 | + # 用户信息获取 | ||
281 | + ic = 888810032426 | ||
282 | + res = get_icCheck(host=host, ic=ic) | ||
283 | + print(res.text) | ||
284 | + customerId = res.json()["data"]["aInfo"]["customerId"] | ||
285 | + customerName = res.json()["data"]["aInfo"]["customerName"] | ||
286 | + accountId = res.json()["data"]["aInfo"]["accountId"] | ||
287 | + mobile = res.json()["data"]["aInfo"]["mobile"] | ||
288 | + | ||
289 | + # 省市区获取 | ||
290 | + res = get_city(host=host, name="万州") | ||
291 | + print(res.text) | ||
292 | + originId = res.json()["suggestions"][0]["id"] | ||
293 | + parentId = res.json()["suggestions"][0]["parentId"] | ||
294 | + value = res.json()["suggestions"][0]["value"] | ||
295 | + | ||
296 | + # 获取缴费金额 | ||
297 | + # host = "http://test.jmsf.diligrp.com:8385" | ||
298 | + plate = re.findall('name="plate" class="form-control" value="(.*?)" id="plate"', resOrderDetails.text)[0] | ||
299 | + modified = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) | ||
300 | + carTypeName = re.findall('name="carTypeName" id="carTypeName" value="(.*?)" ', resOrderDetails.text)[0] | ||
301 | + carTypeCode = re.findall('name="carTypeCode" id="carTypeCode" value="(.*?)" ', resOrderDetails.text)[0] | ||
302 | + carTypeId = re.findall('name="carTypeId" id="carTypeId" value="(.*?)" ', resOrderDetails.text)[0] | ||
303 | + carTypeWeight = "333" | ||
304 | + proveType = re.findall(' value="(.*?)" id="proveType" name="proveType"', resOrderDetails.text)[0] | ||
305 | + proveTypeCode = proveType | ||
306 | + grossWeight = re.findall('name="grossWeight" id="grossWeight" value="(.*?)"', resOrderDetails.text)[0] | ||
307 | + newWeight = re.findall('name="weight" readonly value="(.*?)" id="weight"', resOrderDetails.text)[0] | ||
308 | + tareWeight = re.findall('name="tareWeight" id="tareWeight" value="(.*?)"', resOrderDetails.text)[0] | ||
309 | + depName = re.findall('id="depName" name="depName" value="(.*?)"', resOrderDetails.text)[0] | ||
310 | + feeDepId = re.findall('name="calcDepId" value="(.*?)"', resOrderDetails.text)[0] | ||
311 | + productName = re.findall('name="productName" value="(.*?)"', resOrderDetails.text)[0] | ||
312 | + productId = re.findall('id="productId" value="(.*?)"', resOrderDetails.text)[0] | ||
313 | + grossWeightDate = re.findall('name="grossWeightDate" value="(.*?)"', resOrderDetails.text)[0] | ||
314 | + tareWeightDate = re.findall('name="tareWeightDate" value="(.*?)"', resOrderDetails.text)[0] | ||
315 | + weight = re.findall('name="weight" readonly value="(.*?)"', resOrderDetails.text)[0] | ||
316 | + calcDepId = re.findall('name="calcDepId" value="(.*?)"', resOrderDetails.text)[0] | ||
317 | + categoryName = "水果" | ||
318 | + categoryId = "14436" | ||
319 | + inGreeterName = re.findall('id="inGreeterName" value="(.*?)"', resOrderDetails.text)[0] | ||
320 | + inGreeterId = re.findall('name="inGreeterId" id="inGreeterId" value="(.*?)"', resOrderDetails.text)[0] | ||
321 | + | ||
322 | + autocompletecartype = f"{carTypeCode}({carTypeName})" | ||
323 | + print(autocompletecartype) | ||
324 | + | ||
325 | + res = get_calculateRes(host=host, autocompletecartype=autocompletecartype, optType=optType, correctInfo=correctInfo, | ||
326 | + weightType=weightType, id=orderId, goodsId=goodsId, number=number, modified=modified, | ||
327 | + status=status, | ||
328 | + source=source, correctDiscount=correctDiscount, plate=plate, carTypeName=carTypeName, | ||
329 | + carTypeCode=carTypeCode, | ||
330 | + carTypeId=carTypeId, carTypeWeight=carTypeWeight, proveType=proveType, | ||
331 | + grossWeight=grossWeight, | ||
332 | + tareWeight=tareWeight, unitPrice=unitPrice, depName=depName, productName=productName, | ||
333 | + productId=productId, originId=originId, tradeTypeId=tradeTypeId, created=created, | ||
334 | + goodsTagIds=goodsTagIds, | ||
335 | + shareRatio=shareRatio, categoryName=categoryName, categoryId=categoryId, | ||
336 | + grossWeightDate=grossWeightDate, | ||
337 | + tareWeightDate=tareWeightDate, sumPrice=sumPrice, calcDepId=calcDepId, weight=weight, | ||
338 | + inGreeterName=inGreeterName, inGreeterId=inGreeterId) | ||
339 | + | ||
340 | + # backSkinTwo = re.findall('name="backSkinTwo" value="(.*?)" >',res.text)[0] | ||
341 | + # 缴费信息 | ||
342 | + totalMoney = re.findall('name="totalMoney" value="(.*?)">', res.text)[0] | ||
343 | + discountAmount = re.findall('name="discountAmount" value="(.*?)">', res.text)[0] | ||
344 | + collectionPrice = re.findall('" name="collectionPrice" value="(.*?)">', res.text)[0] | ||
345 | + handReceivableAmount = re.findall('name="handReceivableAmount" value="(.*?)">', res.text)[0] | ||
346 | + correctDiscount = re.findall('id="correctDiscount" name="correctDiscount" value="(.*?)">', res.text)[0] | ||
347 | + billItemCheckIds = re.findall('" name="billItemCheckIds" value="(.*?)" ', res.text)[0] | ||
348 | + billItemCheckIdsV = re.findall('" maxlength="15" data-old="(.*?)"', res.text)[0] | ||
349 | + receivable = re.findall('id="creceivableLong" name="receivable" value="(.*?)">', res.text)[0] | ||
350 | + | ||
351 | + soup = BeautifulSoup(res.text, "html.parser") | ||
352 | + # 查找dl标签class为包含'ui-font-'字符的所有dl标签 | ||
353 | + fee_str = "correctDiscount=1&billItems=&billItemsDic=" | ||
354 | + fee_int = 0 | ||
355 | + discount_amount = 0 | ||
356 | + for tag in soup.findAll("div", class_="d-flex align-items-center"): | ||
357 | + print("=============================================") | ||
358 | + c = tag.findAll("input") | ||
359 | + for i in c: | ||
360 | + print(i) | ||
361 | + if i.get("name") != None: | ||
362 | + fee_str = fee_str + "&" + i.get("name") + "=" + urllib.parse.quote(i.get("value")) | ||
363 | + if i.get("type") == "text": | ||
364 | + print("---------------- f 2 s----------------") | ||
365 | + print(i) | ||
366 | + print(i.get("value")) | ||
367 | + fee_int = fee_int + int(float(i.get("value"))) | ||
368 | + print("---------------- f 2 e----------------") | ||
369 | + if "优惠" in i.get("value"): | ||
370 | + discount_amount = discount_amount + int(json.loads(i.get("value"))["receivable"]) / 100 | ||
371 | + # fee_int = fee_int+int(i.get("value")) | ||
372 | + # print(fee_str) | ||
373 | + # print(fee_int) | ||
374 | + # print("discount_amount",discount_amount) | ||
375 | + # print("discountAmount",discountAmount) | ||
376 | + | ||
377 | + pwd = "111111" | ||
378 | + id = orderId | ||
379 | + totalAmount = totalMoney | ||
380 | + customerPhone = mobile | ||
381 | + productPrice = "1.00000" | ||
382 | + dep = feeDepId | ||
383 | + productArea = "重庆,重庆市,万州区" | ||
384 | + chargeTotalAmount = totalMoney | ||
385 | + chargeTotalAmountYuan = fee_int - int(discount_amount) | ||
386 | + freezeMoneySymbol = fee_int | ||
387 | + comparisonFreezeAmount = fee_int | ||
388 | + modified = created | ||
389 | + firmCode = "sy" | ||
390 | + marketFlag = firmCode | ||
391 | + collectionPrice = 0 | ||
392 | + itemReceivableAmount = receivable | ||
393 | + receivableAmount = receivable | ||
394 | + tareWeightDate = tareWeightDate | ||
395 | + aa = do_doPay(host=host, autocompletecartype=autocompletecartype, fee_str=fee_str, pwd=pwd, optType=optType, | ||
396 | + weightType=weightType, id=id, goodsId=goodsId, number=number, created=created, status=status, | ||
397 | + source=source, | ||
398 | + correctDiscount=correctDiscount, totalAmount=totalAmount, customerId=customerId, | ||
399 | + fundAccount=accountId, | ||
400 | + accountId=accountId, ic=ic, customerName=customerName, customerPhone=customerPhone, plate=plate, | ||
401 | + carTypeName=carTypeName, carTypeCode=carTypeCode, carTypeId=carTypeId, carTypeWeight=carTypeWeight, | ||
402 | + proveType=proveType, grossWeight=grossWeight, tareWeight=tareWeight, weight=weight, | ||
403 | + productPrice=productPrice, | ||
404 | + unitPrice=unitPrice, depName=depName, calcDepId=calcDepId, dep=dep, regionName=regionName, | ||
405 | + regionId=regionId, | ||
406 | + productName=productName, productId=productId, productArea=productArea, originId=originId, | ||
407 | + tradeTypeId=tradeTypeId, correctInfo=correctInfo, chargeTotalAmount=chargeTotalAmount, | ||
408 | + freezeMoneySymbol=freezeMoneySymbol, comparisonFreezeAmount=comparisonFreezeAmount, modified=modified, | ||
409 | + goodsTagIds=goodsTagIds, marketFlag=marketFlag, totalMoney=totalMoney, receivable=receivable, | ||
410 | + collectionPrice=collectionPrice, discountAmount=discountAmount, | ||
411 | + handReceivableAmount=handReceivableAmount, | ||
412 | + itemReceivableAmount=itemReceivableAmount, receivableAmount=receivableAmount, | ||
413 | + categoryName=categoryName, | ||
414 | + categoryId=carTypeId, grossWeightDate=grossWeightDate, tareWeightDate=tareWeightDate, | ||
415 | + sumPrice=sumPrice, | ||
416 | + chargeTotalAmountYuan=chargeTotalAmountYuan) | ||
417 | + | ||
418 | + print(aa.text) | ||
419 | + return aa | ||
420 | + | ||
421 | +do_payOrder(attrValue="202108060900035") | ||
250 | 422 | ||
251 | 423 | ||
252 | -a = listPage(host="http://test.jmsf.diligrp.com:8385",attrName="收费单号",attrValue="202108060900028") | 424 | +""" |
425 | +a = listPage(host="http://test.jmsf.diligrp.com:8385",attrName="收费单号",attrValue="202108060900032") | ||
253 | print("listPage",a.json()) | 426 | print("listPage",a.json()) |
254 | orderId = a.json()["rows"][0]["id"] | 427 | orderId = a.json()["rows"][0]["id"] |
255 | number = a.json()["rows"][0]["number"] | 428 | number = a.json()["rows"][0]["number"] |
@@ -257,15 +430,12 @@ created = a.json()["rows"][0]["created"] | @@ -257,15 +430,12 @@ created = a.json()["rows"][0]["created"] | ||
257 | print(orderId) | 430 | print(orderId) |
258 | 431 | ||
259 | # # 订单详情获取 | 432 | # # 订单详情获取 |
260 | -# orderId = 3674 | 433 | + |
261 | resOrderDetails = get_OrderDetails(host="http://test.jmsf.diligrp.com:8385",orderId=orderId) | 434 | resOrderDetails = get_OrderDetails(host="http://test.jmsf.diligrp.com:8385",orderId=orderId) |
262 | -# print(res.text) | ||
263 | unitPrice = re.findall('name="unitPrice" value="(.*?)" id',resOrderDetails.text)[0] | 435 | unitPrice = re.findall('name="unitPrice" value="(.*?)" id',resOrderDetails.text)[0] |
264 | - | ||
265 | goodsId = re.findall('id="goodsId" value="(.*?)">',resOrderDetails.text)[0] | 436 | goodsId = re.findall('id="goodsId" value="(.*?)">',resOrderDetails.text)[0] |
266 | status = re.findall('"status" name="status" value="(.*?)">',resOrderDetails.text)[0] | 437 | status = re.findall('"status" name="status" value="(.*?)">',resOrderDetails.text)[0] |
267 | source = re.findall('id="source" name="source" value="(.*?)">',resOrderDetails.text)[0] | 438 | source = re.findall('id="source" name="source" value="(.*?)">',resOrderDetails.text)[0] |
268 | - | ||
269 | optType = re.findall('id="optType" name="optType" value="(.*?)">',resOrderDetails.text)[0] | 439 | optType = re.findall('id="optType" name="optType" value="(.*?)">',resOrderDetails.text)[0] |
270 | correctInfo = re.findall('d="correctInfo" name="correctInfo" value="(.*?)">',resOrderDetails.text)[0] | 440 | correctInfo = re.findall('d="correctInfo" name="correctInfo" value="(.*?)">',resOrderDetails.text)[0] |
271 | weightType = re.findall('name="weightType" id="weightType" value="(.*?)">',resOrderDetails.text)[0] | 441 | weightType = re.findall('name="weightType" id="weightType" value="(.*?)">',resOrderDetails.text)[0] |
@@ -296,42 +466,29 @@ parentId = res.json()["suggestions"][0]["parentId"] | @@ -296,42 +466,29 @@ parentId = res.json()["suggestions"][0]["parentId"] | ||
296 | value = res.json()["suggestions"][0]["value"] | 466 | value = res.json()["suggestions"][0]["value"] |
297 | 467 | ||
298 | # 获取缴费金额 | 468 | # 获取缴费金额 |
299 | -plate="川B00001" | ||
300 | host="http://test.jmsf.diligrp.com:8385" | 469 | host="http://test.jmsf.diligrp.com:8385" |
470 | +plate= re.findall('name="plate" class="form-control" value="(.*?)" id="plate"',resOrderDetails.text)[0] | ||
301 | modified=time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) | 471 | modified=time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()) |
302 | carTypeName= re.findall('name="carTypeName" id="carTypeName" value="(.*?)" ',resOrderDetails.text)[0] | 472 | carTypeName= re.findall('name="carTypeName" id="carTypeName" value="(.*?)" ',resOrderDetails.text)[0] |
303 | carTypeCode = re.findall('name="carTypeCode" id="carTypeCode" value="(.*?)" ',resOrderDetails.text)[0] | 473 | carTypeCode = re.findall('name="carTypeCode" id="carTypeCode" value="(.*?)" ',resOrderDetails.text)[0] |
304 | carTypeId = re.findall('name="carTypeId" id="carTypeId" value="(.*?)" ',resOrderDetails.text)[0] | 474 | carTypeId = re.findall('name="carTypeId" id="carTypeId" value="(.*?)" ',resOrderDetails.text)[0] |
305 | carTypeWeight = "333" | 475 | carTypeWeight = "333" |
306 | -# proveTypeCode = "1621" | ||
307 | proveType = re.findall(' value="(.*?)" id="proveType" name="proveType"',resOrderDetails.text)[0] | 476 | proveType = re.findall(' value="(.*?)" id="proveType" name="proveType"',resOrderDetails.text)[0] |
308 | proveTypeCode = proveType | 477 | proveTypeCode = proveType |
309 | -# grossWeight="353" | ||
310 | grossWeight = re.findall('name="grossWeight" id="grossWeight" value="(.*?)"',resOrderDetails.text)[0] | 478 | grossWeight = re.findall('name="grossWeight" id="grossWeight" value="(.*?)"',resOrderDetails.text)[0] |
311 | -# newWeight="20" | ||
312 | newWeight = re.findall('name="weight" readonly value="(.*?)" id="weight"',resOrderDetails.text)[0] | 479 | newWeight = re.findall('name="weight" readonly value="(.*?)" id="weight"',resOrderDetails.text)[0] |
313 | -# tareWeight="333" | ||
314 | tareWeight=re.findall('name="tareWeight" id="tareWeight" value="(.*?)"',resOrderDetails.text)[0] | 480 | tareWeight=re.findall('name="tareWeight" id="tareWeight" value="(.*?)"',resOrderDetails.text)[0] |
315 | -# depName="接车部" | ||
316 | depName = re.findall('id="depName" name="depName" value="(.*?)"',resOrderDetails.text)[0] | 481 | depName = re.findall('id="depName" name="depName" value="(.*?)"',resOrderDetails.text)[0] |
317 | -# feeDepId="103" | ||
318 | feeDepId = re.findall('name="calcDepId" value="(.*?)"',resOrderDetails.text)[0] | 482 | feeDepId = re.findall('name="calcDepId" value="(.*?)"',resOrderDetails.text)[0] |
319 | -# productName="雪莲果" | ||
320 | productName = re.findall('name="productName" value="(.*?)"',resOrderDetails.text)[0] | 483 | productName = re.findall('name="productName" value="(.*?)"',resOrderDetails.text)[0] |
321 | -# productId="14158" | ||
322 | productId=re.findall('id="productId" value="(.*?)"',resOrderDetails.text)[0] | 484 | productId=re.findall('id="productId" value="(.*?)"',resOrderDetails.text)[0] |
323 | -# grossWeightDate=created | ||
324 | grossWeightDate=re.findall('name="grossWeightDate" value="(.*?)"',resOrderDetails.text)[0] | 485 | grossWeightDate=re.findall('name="grossWeightDate" value="(.*?)"',resOrderDetails.text)[0] |
325 | -# tareWeightDate=created | ||
326 | tareWeightDate = re.findall('name="tareWeightDate" value="(.*?)"',resOrderDetails.text)[0] | 486 | tareWeightDate = re.findall('name="tareWeightDate" value="(.*?)"',resOrderDetails.text)[0] |
327 | -# weight=newWeight | ||
328 | weight = re.findall('name="weight" readonly value="(.*?)"',resOrderDetails.text)[0] | 487 | weight = re.findall('name="weight" readonly value="(.*?)"',resOrderDetails.text)[0] |
329 | calcDepId=re.findall('name="calcDepId" value="(.*?)"',resOrderDetails.text)[0] | 488 | calcDepId=re.findall('name="calcDepId" value="(.*?)"',resOrderDetails.text)[0] |
330 | categoryName="水果" | 489 | categoryName="水果" |
331 | categoryId="14436" | 490 | categoryId="14436" |
332 | -# inGreeterName="通用测试" | ||
333 | inGreeterName = re.findall('id="inGreeterName" value="(.*?)"',resOrderDetails.text)[0] | 491 | inGreeterName = re.findall('id="inGreeterName" value="(.*?)"',resOrderDetails.text)[0] |
334 | -# inGreeterId="274" | ||
335 | inGreeterId = re.findall('name="inGreeterId" id="inGreeterId" value="(.*?)"',resOrderDetails.text)[0] | 492 | inGreeterId = re.findall('name="inGreeterId" id="inGreeterId" value="(.*?)"',resOrderDetails.text)[0] |
336 | 493 | ||
337 | 494 | ||
@@ -371,7 +528,6 @@ for tag in soup.findAll("div", class_="d-flex align-items-center"): | @@ -371,7 +528,6 @@ for tag in soup.findAll("div", class_="d-flex align-items-center"): | ||
371 | c = tag.findAll("input") | 528 | c = tag.findAll("input") |
372 | for i in c: | 529 | for i in c: |
373 | print(i) | 530 | print(i) |
374 | - # print(i.get("name")) | ||
375 | if i.get("name") != None: | 531 | if i.get("name") != None: |
376 | fee_str = fee_str + "&" + i.get("name") + "=" + urllib.parse.quote(i.get("value")) | 532 | fee_str = fee_str + "&" + i.get("name") + "=" + urllib.parse.quote(i.get("value")) |
377 | if i.get("type") == "text": | 533 | if i.get("type") == "text": |
@@ -422,4 +578,5 @@ aa = do_doPay(host=host,autocompletecartype=autocompletecartype,fee_str=fee_str, | @@ -422,4 +578,5 @@ aa = do_doPay(host=host,autocompletecartype=autocompletecartype,fee_str=fee_str, | ||
422 | categoryId=carTypeId,grossWeightDate=grossWeightDate,tareWeightDate=tareWeightDate,sumPrice=sumPrice, | 578 | categoryId=carTypeId,grossWeightDate=grossWeightDate,tareWeightDate=tareWeightDate,sumPrice=sumPrice, |
423 | chargeTotalAmountYuan=chargeTotalAmountYuan) | 579 | chargeTotalAmountYuan=chargeTotalAmountYuan) |
424 | 580 | ||
425 | -print(aa.text) | ||
426 | \ No newline at end of file | 581 | \ No newline at end of file |
582 | +print(aa.text) | ||
583 | +""" | ||
427 | \ No newline at end of file | 584 | \ No newline at end of file |
report/test.log
1 | -[2021-08-06 15:48:12] [INFO] : ====================================================================================== | ||
2 | -[2021-08-06 15:48:12] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb | ||
3 | -{'data': None, 'json': {'userName': 'sy_chen', 'password': 'VTOTPkEIxvmtuO8zWAmUxzEJRCclqyDB4PzmKnOTpX86q20urQX6IRUZPGHh4g5JDryMvrFYBWufCB9kTnOzHmN1rHx5CIpV8yR6bX0+lQAk2hFlPcZbsWoDgK31CsPr4epTirwTf3WX1lhpMh45oZCYWgaR9PctTb4vAbVJ4m0='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} | 1 | +[2021-08-06 16:26:45] [INFO] : ====================================================================================== |
2 | +[2021-08-06 16:26:45] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb | ||
3 | +{'data': None, 'json': {'userName': 'sy_chen', 'password': 'RpLVclIKYcw4w+0W7Dy4arorr3tELiF61AMIxbZRMIl5OKQjqSmmM9GLIl+hkjpQfknMPmyM7KYE1T3/Stqfq9v48sMmfPNd4Fgie76GPU+roZT2rkAC9CXGqlsiLD/k1lzN9unVwJrtTlCnHAhzb2+JArtjfOis3t2RUax7398='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} | ||
4 | 4 | ||
5 | -[2021-08-06 15:48:13] [INFO] : ====================================================================================== | ||
6 | -[2021-08-06 15:48:13] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb | ||
7 | -{'data': None, 'json': {'userName': 'sygangda', 'password': 'kflO1Y7sTjw7YW/y91OMEKKuxKDQCZHNpvL6CUTRMcYg5AJkoN+B1OJW6z5K2vHDeNiJC0+cEnZYcPYsBmFxWgVIiUjf/XAWhd2dsh1HcOQ/HK65PmUFPVOAWlMqFnmkPCgBpd8OYMYUHn6/gHqpyh+MUDi++TSDQcswcgKbY8E='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} | 5 | +[2021-08-06 16:26:45] [INFO] : ====================================================================================== |
6 | +[2021-08-06 16:26:45] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb | ||
7 | +{'data': None, 'json': {'userName': 'sygangda', 'password': 'XlCvoKN1bvOWvCxcqYIxE+KwB0iiKTCqZL5by2w+jSibVOHdgsX53UY+lVad68+DRw+Qa2nvCJlzwzza3LL/YLnnqw9Ifme3X4C/zak19/4KeAFn2GB2JGbQBQLRaYyiw8l03bJbSb3iw6psYyINQN2SpbaU7CJwjHtehWyObrQ='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}} | ||
8 | 8 | ||
9 | -[2021-08-06 15:48:13] [INFO] : ====================================================================================== | ||
10 | -[2021-08-06 15:48:13] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action | ||
11 | -{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108060900019'} | 9 | +[2021-08-06 16:26:45] [INFO] : ====================================================================================== |
10 | +[2021-08-06 16:26:45] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action | ||
11 | +{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108060900035'} | ||
12 | {} | 12 | {} |
13 | 13 | ||
14 | -[2021-08-06 15:48:13] [INFO] : ====================================================================================== | ||
15 | -[2021-08-06 15:48:13] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/pay/3745.action | 14 | +[2021-08-06 16:26:45] [INFO] : ====================================================================================== |
15 | +[2021-08-06 16:26:45] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/pay/3761.action | ||
16 | None | 16 | None |
17 | {} | 17 | {} |
18 | 18 | ||
19 | -[2021-08-06 15:48:15] [INFO] : ====================================================================================== | ||
20 | -[2021-08-06 15:48:15] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426 | 19 | +[2021-08-06 16:26:47] [INFO] : ====================================================================================== |
20 | +[2021-08-06 16:26:47] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426 | ||
21 | None | 21 | None |
22 | {} | 22 | {} |
23 | 23 | ||
24 | -[2021-08-06 15:48:20] [INFO] : ====================================================================================== | ||
25 | -[2021-08-06 15:48:20] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州 | 24 | +[2021-08-06 16:26:48] [INFO] : ====================================================================================== |
25 | +[2021-08-06 16:26:48] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州 | ||
26 | None | 26 | None |
27 | {} | 27 | {} |
28 | 28 | ||
29 | -[2021-08-06 15:48:20] [INFO] : ====================================================================================== | ||
30 | -[2021-08-06 15:48:20] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action | ||
31 | -{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'pay', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 3745, 'goodsId': '3759', 'number': '202108060900019', 'modified': '2021-08-06 15:48:20', 'status': '2', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川B00001', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '1621', 'grossWeight': '353', 'tareWeight': '333', 'weight': '20', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '接车部', 'calcDepId': '103', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '14158', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '71', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-06 15:47:54', 'remark': 'false', 'goodsTagIds': '1900', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '14436', 'driverTel': '', 'grossWeightDate': '2021-08-06 15:47:54', 'tareWeightDate': '2021-08-06 15:47:54', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '通用测试', 'inGreeterId': '274', 'outGreeterId': '', 'sumPrice': '2000', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''} | 29 | +[2021-08-06 16:26:48] [INFO] : ====================================================================================== |
30 | +[2021-08-06 16:26:48] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action | ||
31 | +{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'pay', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 3761, 'goodsId': '3775', 'number': '202108060900035', 'modified': '2021-08-06 16:26:48', 'status': '4', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川B00001', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '1621', 'grossWeight': '353', 'tareWeight': '333', 'weight': '20', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '接车部', 'calcDepId': '103', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '14158', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '71', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-06 16:23:44', 'remark': 'false', 'goodsTagIds': '1900', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '14436', 'driverTel': '', 'grossWeightDate': '2021-08-06 16:23:44', 'tareWeightDate': '2021-08-06 16:23:44', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '通用测试', 'inGreeterId': '274', 'outGreeterId': '', 'sumPrice': '2000', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''} | ||
32 | {} | 32 | {} |
33 | 33 | ||
34 | -[2021-08-06 15:48:21] [INFO] : ====================================================================================== | ||
35 | -[2021-08-06 15:48:21] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doPay.action | ||
36 | -protocolId=&pwd=111111&clientRedirectTag=&viewType=pay&optType=0&optUrl=&correctInfo=1&weightType=1&id=3745&goodsId=3759&number=202108060900019&modified=2021-08-06%2015%3A47%3A54&status=2&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DB00001&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=1621&grossWeight=353&tareWeight=333&weight=20&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%8E%A5%E8%BD%A6%E9%83%A8&calcDepId=103&dep=103®ionName=A1%E5%8C%BA®ionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=14158&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&parentId=&levelType=&originId=500101&tradeTypeId=71&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-06%2015%3A47%3A54&remark=&goodsTagIds=1900&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&shareRatio=0&handlingTeam=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=53&driverTel=&grossWeightDate=2021-08-06%2015%3A47%3A54&tareWeightDate=2021-08-06%2015%3A47%3A54&grossPathName=&grossPathId=&tarePathId=&goodsRemark=&inGreeterName=&inGreeterId=0&outGreeterId=&sumPrice=2000&shipperName=&shipperId=&shipperPhone=&feeDepName=&calcFeeDepId=&feeDepId=&accountId=105847&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A0%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D | 34 | +[2021-08-06 16:26:48] [INFO] : ====================================================================================== |
35 | +[2021-08-06 16:26:48] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doPay.action | ||
36 | +protocolId=&pwd=111111&clientRedirectTag=&viewType=pay&optType=0&optUrl=&correctInfo=1&weightType=1&id=3761&goodsId=3775&number=202108060900035&modified=2021-08-06%2016%3A23%3A44&status=4&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DB00001&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=1621&grossWeight=353&tareWeight=333&weight=20&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%8E%A5%E8%BD%A6%E9%83%A8&calcDepId=103&dep=103®ionName=A1%E5%8C%BA®ionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=14158&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&parentId=&levelType=&originId=500101&tradeTypeId=71&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-06%2016%3A23%3A44&remark=&goodsTagIds=1900&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&shareRatio=0&handlingTeam=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=53&driverTel=&grossWeightDate=2021-08-06%2016%3A23%3A44&tareWeightDate=2021-08-06%2016%3A23%3A44&grossPathName=&grossPathId=&tarePathId=&goodsRemark=&inGreeterName=&inGreeterId=0&outGreeterId=&sumPrice=2000&shipperName=&shipperId=&shipperPhone=&feeDepName=&calcFeeDepId=&feeDepId=&accountId=105847&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A1%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D | ||
37 | +{} | ||
38 | + | ||
39 | +[2021-08-06 16:26:49] [INFO] : ====================================================================================== | ||
40 | +[2021-08-06 16:26:49] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType | ||
41 | +{"businessCode": "jmsf"} | ||
42 | +{} | ||
43 | + | ||
44 | +[2021-08-06 16:26:49] [INFO] : ====================================================================================== | ||
45 | +[2021-08-06 16:26:49] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/cusCategory/getTree | ||
46 | +{"marketId": 9, "state": 1, "keyword": "\u96ea\u83b2\u679c"} | ||
47 | +{} | ||
48 | + | ||
49 | +[2021-08-06 16:26:49] [INFO] : ====================================================================================== | ||
50 | +[2021-08-06 16:26:49] [INFO] : http://test.gateway.diligrp.com:8285/dili-uap/userApi/listByExample.api | ||
51 | +{"firmCode": "sy", "departmentId": 58, "keyword": ""} | ||
52 | +{} | ||
53 | + | ||
54 | +[2021-08-06 16:26:49] [INFO] : ====================================================================================== | ||
55 | +[2021-08-06 16:26:49] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/tradeType/query | ||
56 | +{"pageNum": 100, "pageSize": 100, "marketId": 9} | ||
57 | +{} | ||
58 | + | ||
59 | +[2021-08-06 16:26:49] [INFO] : ====================================================================================== | ||
60 | +[2021-08-06 16:26:49] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid | ||
61 | +None | ||
62 | +{'params': {'pid': 'goods_tag'}} | ||
63 | + | ||
64 | +[2021-08-06 16:26:50] [INFO] : ====================================================================================== | ||
65 | +[2021-08-06 16:26:50] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/address | ||
66 | +{"province": "C", "city": null, "area": null} | ||
67 | +{} | ||
68 | + | ||
69 | +[2021-08-06 16:26:50] [INFO] : ====================================================================================== | ||
70 | +[2021-08-06 16:26:50] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep | ||
71 | +{"keyword": ""} | ||
72 | +{} | ||
73 | + | ||
74 | +[2021-08-06 16:26:50] [INFO] : ====================================================================================== | ||
75 | +[2021-08-06 16:26:50] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid | ||
76 | +None | ||
77 | +{'params': {'pid': 'prove_type'}} | ||
78 | + | ||
79 | +[2021-08-06 16:26:51] [INFO] : ====================================================================================== | ||
80 | +[2021-08-06 16:26:51] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action | ||
81 | +None | ||
82 | +{} | ||
83 | + | ||
84 | +[2021-08-06 16:26:51] [INFO] : ====================================================================================== | ||
85 | +[2021-08-06 16:26:51] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/wholeCarWeighSave | ||
86 | +{"carTypeCode": "003", "carTypeId": 53, "carTypeName": "\u677f\u8f66", "carTypeWeight": 333, "plate": "\u5dddB00001", "inGreeterId": 274, "inGreeterName": "\u901a\u7528\u6d4b\u8bd5", "productId": 14158, "productName": "\u96ea\u83b2\u679c", "proveTypeCode": 1621, "proveTypeName": "\u7eff\u8272\u852c\u83dc", "weighRemark": "\u5907\u6ce8", "weighmanRecord": {"grossWeight": 353, "grossWeightDate": "2021-08-06 16:26:51", "newWeight": 20, "tareWeight": 333, "tareWeightDate": null, "weighImgs": []}, "productCode": null, "trailerNumber": "\u5dddB00001", "pathAddress": "A4-BB-6D-0A-F4-13", "haveTruckWeight": false, "source": 4, "entryPlateInputType": 1, "dep": 103, "depName": "\u63a5\u8f66\u90e8", "cateId": 14158, "notice": 0, "backSkinTwo": -1, "recordOriginId": 0, "recordOriginName": null, "recordProductId": 0, "recordProductName": null, "recordWeight": null, "codeIc": null, "codeId": 0, "difference": 0, "bindRecordSign": 0, "recordDesc": null, "hasCodeItems": false, "customerId": 0, "customerName": "", "driverIc": null, "driverName": null, "totalPrice": null, "originId": 500101, "origin": "\u4e07\u5dde\u533a", "originCode": "023", "tradeType": "9002", "tradeTypeName": "\u6c88\u96332\u53f7", "weight": 2.0, "pwd": "", "type": 1, "ic": "", "boothNumber": "210728154359", "productState": "1", "accountId": 0, "passCheckId": 0, "passCheckName": null, "tradeTypeId": 71, "id": 0, "protocolId": null, "goodsTagId": 1900} | ||
87 | +{} | ||
88 | + | ||
89 | +[2021-08-06 16:26:52] [INFO] : ====================================================================================== | ||
90 | +[2021-08-06 16:26:52] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action | ||
91 | +{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108060900037'} | ||
92 | +{} | ||
93 | + | ||
94 | +[2021-08-06 16:26:52] [INFO] : ====================================================================================== | ||
95 | +[2021-08-06 16:26:52] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/pay/3763.action | ||
96 | +None | ||
97 | +{} | ||
98 | + | ||
99 | +[2021-08-06 16:26:53] [INFO] : ====================================================================================== | ||
100 | +[2021-08-06 16:26:53] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426 | ||
101 | +None | ||
102 | +{} | ||
103 | + | ||
104 | +[2021-08-06 16:26:54] [INFO] : ====================================================================================== | ||
105 | +[2021-08-06 16:26:54] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州 | ||
106 | +None | ||
107 | +{} | ||
108 | + | ||
109 | +[2021-08-06 16:26:54] [INFO] : ====================================================================================== | ||
110 | +[2021-08-06 16:26:54] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action | ||
111 | +{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'pay', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 3763, 'goodsId': '3777', 'number': '202108060900037', 'modified': '2021-08-06 16:26:54', 'status': '2', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川B00001', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '1621', 'grossWeight': '353', 'tareWeight': '333', 'weight': '20', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '接车部', 'calcDepId': '103', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '14158', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '71', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-06 16:26:52', 'remark': 'false', 'goodsTagIds': '1900', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '14436', 'driverTel': '', 'grossWeightDate': '2021-08-06 16:26:52', 'tareWeightDate': '2021-08-06 16:26:52', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '通用测试', 'inGreeterId': '274', 'outGreeterId': '', 'sumPrice': '2000', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''} | ||
112 | +{} | ||
113 | + | ||
114 | +[2021-08-06 16:26:54] [INFO] : ====================================================================================== | ||
115 | +[2021-08-06 16:26:54] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doPay.action | ||
116 | +protocolId=&pwd=111111&clientRedirectTag=&viewType=pay&optType=0&optUrl=&correctInfo=1&weightType=1&id=3763&goodsId=3777&number=202108060900037&modified=2021-08-06%2016%3A26%3A52&status=2&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DB00001&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=1621&grossWeight=353&tareWeight=333&weight=20&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%8E%A5%E8%BD%A6%E9%83%A8&calcDepId=103&dep=103®ionName=A1%E5%8C%BA®ionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=14158&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&parentId=&levelType=&originId=500101&tradeTypeId=71&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-06%2016%3A26%3A52&remark=&goodsTagIds=1900&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&shareRatio=0&handlingTeam=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=53&driverTel=&grossWeightDate=2021-08-06%2016%3A26%3A52&tareWeightDate=2021-08-06%2016%3A26%3A52&grossPathName=&grossPathId=&tarePathId=&goodsRemark=&inGreeterName=&inGreeterId=0&outGreeterId=&sumPrice=2000&shipperName=&shipperId=&shipperPhone=&feeDepName=&calcFeeDepId=&feeDepId=&accountId=105847&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A0%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D | ||
37 | {} | 117 | {} |
38 | 118 |
testcase/test_ZC/test_ZC.py
@@ -13,6 +13,7 @@ import json | @@ -13,6 +13,7 @@ import json | ||
13 | import unittest | 13 | import unittest |
14 | from commons.scripts.readConf import rC | 14 | from commons.scripts.readConf import rC |
15 | from commons.api import zcApi as zcA | 15 | from commons.api import zcApi as zcA |
16 | +from commons.api import entranceFeeBillList as eFBL | ||
16 | import time,random | 17 | import time,random |
17 | 18 | ||
18 | class test_demo(unittest.TestCase): | 19 | class test_demo(unittest.TestCase): |
@@ -126,6 +127,8 @@ class test_demo(unittest.TestCase): | @@ -126,6 +127,8 @@ class test_demo(unittest.TestCase): | ||
126 | userName="ty_test",transactionName="沈阳2号",newWeight=20, | 127 | userName="ty_test",transactionName="沈阳2号",newWeight=20, |
127 | depName="接车部",goodsTagName="货物标签测试",proveName="绿色蔬菜") | 128 | depName="接车部",goodsTagName="货物标签测试",proveName="绿色蔬菜") |
128 | print(cre_res.json()) | 129 | print(cre_res.json()) |
130 | + number = cre_res.json()["data"]["number"] | ||
131 | + aa = eFBL.do_payOrder(attrValue=number) | ||
129 | # cre_res = zcA.create_jmsf(host=self.gatewayHost,plate="川B00002",newWeight=20) | 132 | # cre_res = zcA.create_jmsf(host=self.gatewayHost,plate="川B00002",newWeight=20) |
130 | # print(cre_res.json()) | 133 | # print(cre_res.json()) |
131 | 134 |