Browse Source

修改来clientType字段

chenjiangqun 2 năm trước cách đây
mục cha
commit
52bb52f30e
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      FactoryTool_CShare/Business/V2Method.cs

+ 2 - 3
FactoryTool_CShare/Business/V2Method.cs

@@ -199,9 +199,8 @@ namespace MOKA_Factory_Tools
             Stopwatch watch = new Stopwatch();
             watch.Start();
 
-            item.URL = url + "/bind/order";
-            
-            item.Postdata = string.Format("{{\"orderNum\":\"{0}\",\"sn\":\"{1}\",\"psn\":\"{2}\",\"orderCode\":\"{3}\",\"client_type\":\"{4}\",\"skipKey\":{5}}}", order, sn, psn, firetv_device_code, midList.clienttype, key2Write == null ? "[]" : JsonConvert.SerializeObject(key2Write).ToString());
+            item.URL = url + "/bind/order";        
+            item.Postdata = string.Format("{{\"orderNum\":\"{0}\",\"sn\":\"{1}\",\"psn\":\"{2}\",\"orderCode\":\"{3}\",\"clientType\":\"{4}\",\"skipKey\":{5}}}", order, sn, psn, firetv_device_code, midList.clienttype, key2Write == null ? "[]" : JsonConvert.SerializeObject(key2Write).ToString());
             HttpResult httpResult = http.GetHtml(item);
             if (httpResult.StatusCode == System.Net.HttpStatusCode.OK)
             {