这里怎么给username 和password传参 ,请求大神指教~谢谢
reqBody := `<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<login xmlns="http://xxx.xx.x.xx/SOAP">
<struct>
<username>username</username><password>password</password>
</struct>
</login>
</soap:Body>
</soap:Envelope>`
有疑问加站长微信联系(非本文作者)