本帖最后由 qw5838132 于 2021-11-22 09:35 编辑
已解决,用换行符 $biaodan ='------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="_token"' _
&@CRLF _
&@CRLF&''&$html&'' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="company_id"' _
&@CRLF _
&@CRLF&'1' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="asset_tags[1]"' _
&@CRLF _
&@CRLF&'BM-00000013' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="serials[1]"' _
&@CRLF _
&@CRLF&'xuliehao2' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="model_id"' _
&@CRLF _
&@CRLF&'1' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="_snipeit_aeeuaocc_13"' _
&@CRLF _
&@CRLF&'3344' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="_snipeit_cpu_4"' _
&@CRLF _
&@CRLF&'cpu' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="_snipeit_aa_5"' _
&@CRLF _
&@CRLF&'内存' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="_snipeit_aea_7"' _
&@CRLF _
&@CRLF&'显卡' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="_snipeit_cc_6"' _
&@CRLF _
&@CRLF&'硬盘' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="_snipeit_euaoaee_12"' _
&@CRLF _
&@CRLF&'固定资产' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="status_id"' _
&@CRLF _
&@CRLF&'2' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="checkout_to_type"' _
&@CRLF _
&@CRLF&'user' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="assigned_user"' _
&@CRLF _
&@CRLF&'2' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="assigned_asset"' _
&@CRLF _
&@CRLF _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="assigned_location"' _
&@CRLF _
&@CRLF _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="name"' _
&@CRLF _
&@CRLF&'资产名称-台式电脑' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="purchase_date"' _
&@CRLF _
&@CRLF&'2021-11-21' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="supplier_id"' _
&@CRLF _
&@CRLF&'3' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="order_number"' _
&@CRLF _
&@CRLF _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="purchase_cost"' _
&@CRLF _
&@CRLF&'10000' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="warranty_months"' _
&@CRLF _
&@CRLF&'36' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="notes"' _
&@CRLF _
&@CRLF&'备注' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="rtd_location_id"' _
&@CRLF _
&@CRLF&'1' _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="image"; filename=""' _
&@CRLF&'Content-Type: application/octet-stream' _
&@CRLF _
&@CRLF _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo' _
&@CRLF&'Content-Disposition: form-data; name="image"; filename=""' _
&@CRLF&'Content-Type: application/octet-stream' _
&@CRLF _
&@CRLF _
&@CRLF&'------WebKitFormBoundaryT38GcciwBBzb3Apo--'
|