update description of query result
This commit is contained in:
parent
d60e82b5f7
commit
866c0e3835
BIN
APIServer.exe
BIN
APIServer.exe
Binary file not shown.
@ -527,5 +527,5 @@ func runCommand(cmdStr string, argStr []string, requestID string) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func showVersion() {
|
func showVersion() {
|
||||||
fmt.Printf("%s\r\nVersion: %s\r\n", os.Args[0], ver)
|
fmt.Printf("%s, Version: %s\r\n", os.Args[0], ver)
|
||||||
}
|
}
|
||||||
|
@ -694,7 +694,7 @@ func (e *EWS) GetUutInfo(cfg cnf.Cfg, logger *log.Logger, host string, addr stri
|
|||||||
|
|
||||||
misc := ""
|
misc := ""
|
||||||
misc = fmt.Sprintf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>",
|
misc = fmt.Sprintf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>",
|
||||||
model, partNO, mfgMO, mfgSKU, fstAck, lstAck)
|
model, partNO, mfgSKU, mfgMO, fstAck, lstAck)
|
||||||
|
|
||||||
rst["RESULT"] = "OK"
|
rst["RESULT"] = "OK"
|
||||||
rst["ErrMsg"] = e.TemplateUutInfo(loc, locTime, misc, last, bkup)
|
rst["ErrMsg"] = e.TemplateUutInfo(loc, locTime, misc, last, bkup)
|
||||||
@ -912,14 +912,14 @@ func (e *EWS) TemplateUutInfo(loc, locTime, misc, last, bkup string) string {
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<span style="font-weight: bold; font-size: 16px;">Misc. Info</span>
|
<span style="font-weight: bold; font-size: 16px;">Basic Info</span>
|
||||||
<br/>
|
<br/>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Model</th>
|
<th>Model</th>
|
||||||
<th>Part NO.</th>
|
<th>Part NO.</th>
|
||||||
<th>MO</th>
|
|
||||||
<th>SKU</th>
|
<th>SKU</th>
|
||||||
|
<th>MO</th>
|
||||||
<th>First Ack</th>
|
<th>First Ack</th>
|
||||||
<th>Last Ack</th>
|
<th>Last Ack</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -927,7 +927,7 @@ func (e *EWS) TemplateUutInfo(loc, locTime, misc, last, bkup string) string {
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<span style="font-weight: bold; font-size: 16px;">测试记录</span>
|
<span style="font-weight: bold; font-size: 16px;">Test Records</span>
|
||||||
<br/>
|
<br/>
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user