|
@@ -86,10 +86,6 @@ namespace MySystem
|
|
|
addRate = addRate * 100;
|
|
|
// string content = function.GetWebRequest("http://connect.kexiaoshuang.com/home/setfee?merNo=" + merchant.KqMerNo + "&sn=" + pos.PosSn + "&fee=" + Fee + "&addRate=" + addRate);
|
|
|
string content = SetFee(merchant.KqMerNo, pos.PosSn, Fee, addRate);
|
|
|
- //{"merNo":"M700033152JizJi3U4","sn":"00003102702303069436067","batchUpdateType":2,"rateDOs":[{"productSubType":"2020032508Nu0QCG","updateValue":0.0,"updateType":0},{"productSubType":"2020032508O4EWB6","updateValue":0.0,"updateType":0}]}
|
|
|
- // {"X-Client-ID":"4487378308096","X-Security":"RSA","X-Sign":"L0u3hGuaHETbP24NNfXrrV6W9WUyjBiYKuzQeNbnsl91/n8sZfvC7lLSXyM0WaK5VG2vqX/0xcrKu9AuPqfGKaI5WE+q/cwnLFb5mJjkK+ihfjIPUI+7GZkBEPO8b6PxxlHGIhp5BL7KtHe19zKlWhWY8LrJQd/8v6ImFubZItU="}
|
|
|
- // {"param":"CyGhDdLc4xkXyVxaYyij/twjCQjI7RM8NSpFpVrurp6KRPwBqW/2gkRbpkaKQlnJY4oJf9l9qjredeYDUGV0PmvstWc7LNnl8g2XVajiPLZ4BFjDIysKR9kiXyFxTR1HtCA24iGl+k95nfbXwPlSNh7Fk7CIfJPPvyQNsY0zj0RS+aGWjc89EoSMhv6j+JfV6Q+BIBb7sWH7MeMlHzxybioI8r1zN+gn8ZGdAMvAF01No/PxWr9VWEhVrWW6l7HYkEjjR7UrsNHds7O4CL4Qx1NkgifRWkemwKIhopDgpt2YMtbzwNVO3lni5qICG7vv2+vMXxgqVRJTPbajNhIOkAm5C+7z879ptkkzS1cHBX+4x7W3n6icloZ1Bu5kChcymHHfIAvLCi4ZGiMpaLYaWDXHZ1OLVn1zC2EcDXXkv5ObV+li8yX5QhRclav69mtCfl39YLphWCjCc1ks9jpdS9B3oclrIBOpmhPEVBxtMVzdhyj4u8BDlqXSjnVprfjQ"}
|
|
|
- // {"code":"000000","message":"OK","trace":"216cff01fd154ae1b5a86f6a293c3331.122.17048038123175617","data":"KVYNCHS95A5QBzfBP5E035eS/FFtcxfZfQR7OJbgiqLYF972xfNFRmIVLitQbOePgRzVni/DiG/iZzpzGrUsklEv0UpiT8CRr+N5ErQpAUh+gGDgqheggbuwQ6c3AUy8QWNybGWK0pRgvJt2DUDpoiW+eZYD2ANVUSEfdLwa9gA="}
|
|
|
JsonData obj = JsonMapper.ToObject(content);
|
|
|
if (obj["code"].ToString() == "000000")
|
|
|
{
|