27 lines
326 B
Go
27 lines
326 B
Go
|
package cs
|
|||
|
|
|||
|
import (
|
|||
|
"fmt"
|
|||
|
"testing"
|
|||
|
)
|
|||
|
|
|||
|
/**
|
|||
|
* 客服工单服务,单元测试
|
|||
|
*/
|
|||
|
|
|||
|
func TestGetFaq(t *testing.T) {
|
|||
|
client, newErr := NewClient()
|
|||
|
if newErr != nil {
|
|||
|
panic(newErr)
|
|||
|
}
|
|||
|
|
|||
|
req := CreateGetFaqRequest()
|
|||
|
info, err := client.GetFaq(req)
|
|||
|
if err != nil {
|
|||
|
t.Error(err)
|
|||
|
return
|
|||
|
}
|
|||
|
|
|||
|
fmt.Printf("%+v", info)
|
|||
|
}
|