feedback_order_settlement.py 2.12 KB
# -*- coding: utf-8 -*-
"""
@Time : 2021/7/30 9:44
@Auth : wlm
@File :feedback_order_settlement.py
@IDE :PyCharm
"""
from commons import common as com

class fc_add():
    url = "http://test.jmsf.diligrp.com:8385/FeedbackCustomerController/add.action"

    header = {
         "Host": "test.jmsf.diligrp.com:8385", "Connection": "keep-alive", "Content-Length": "95",
         "Accept": "application/json,text/javascript,*/*;q=0.01", "Origin": "http://test.jmsf.diligrp.com:8385",
         "X-Requested-With": "XMLHttpRequest",
         "User-Agent": "Mozilla/5.0(WindowsNT6.2;WOW64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/84.0.4147.105Safari/537.36",
         "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8", "Accept-Language": "zh-CN,zh;q=0.9",
         "Referer": "http://test.jmsf.diligrp.com:8385/FeedbackCustomerController/list",
         "Accept-Encoding": "gzip,deflate",
         "Cookie": "UAP_accessToken=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJXRUIiLCJuYmYiOjE2Mjc1MjY2ODMsImRhdGEiOiJ7XCJjZWxscGhvbmVcIjpcIjE1NTI2MzY0NDU2XCIsXCJjcmVhdGVkXCI6MTYwODc5NTk0OTAwMCxcImRlcGFydG1lbnRJZFwiOjU2LFwiZW1haWxcIjpcInNoZW55YW5nQGRpbGlncnAuY29tXCIsXCJmaXJtQ29kZVwiOlwic3lcIixcImZpcm1JZFwiOjksXCJmaXJtTmFtZVwiOlwi5rKI6Ziz5Zyw5Yip5Yac5om55biC5Zy65a6i5oi355S15a2Q57uT566X5Lit5b-DXCIsXCJpZFwiOjI1MSxcImxhc3RMb2dpblRpbWVcIjoxNjI3NTI2NjgzMjM3LFwibWV0YWRhdGFcIjp7fSxcIm1vZGlmaWVkXCI6MTYyNjE2MzAwNDAwMCxcInBhc3N3b3JkXCI6XCIxODk2NUVCNzJDOTJBNTQ5RERcIixcInJlYWxOYW1lXCI6XCLmsojpmLNcIixcInNlcmlhbE51bWJlclwiOlwiMDAwXCIsXCJzdGF0ZVwiOjEsXCJzeXN0ZW1UeXBlXCI6MSxcInVzZXJOYW1lXCI6XCI0NDQ0NDRcIixcInVzZXJUeXBlXCI6MX0iLCJpc3MiOiJVQVBfQVVUSDAiLCJleHAiOjE2Mjc1Mjg0ODMsImlhdCI6MTYyNzUyNjY4MywianRpIjoiYzI4ZDQxMjMtZmZjNi00MDMxLWEwMTQtY2VjMTA4ZGNiOGY3In0.E69TocGIKrnA8-lO4IRblg9fTh4yxB1A83BrW-fazgX1j507yontybV-vfTxsYg3BT-aqBezaqZU0Cw2KconHcZgNHAFpvym0tpwbIXCTbJPgFa7d5VB7nFlbzztlXfgit-Lj2p3wMQlc3FbKRUTUulfXur7CdvZDzCurIxQRsg;UAP_refreshToken=340315b8-f633-4f21-ac66-1a3dfd30ec2d;UAP_firmId=9"

    }
    body = "id=25&cardNo=888810057654&settleAmount=2&ids=12047&feedbackCustomerId=25&feedbackCustomerName=验证员工推送到CRM&billIds=3674&settledAmounts=2"