23 lines
415 B
Go
23 lines
415 B
Go
package pddapi
|
|
|
|
import (
|
|
"git.rosy.net.cn/baseapi/utils"
|
|
"testing"
|
|
)
|
|
|
|
func TestGoodsOPidGenerate(t *testing.T) {
|
|
err := api.GoodsOPidGenerate("冲天猴儿")
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
//t.Log(utils.Format4Output(result, false))
|
|
}
|
|
|
|
func TestActivityOperationList(t *testing.T) {
|
|
result, err := api.ActivityOperationList()
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Log(utils.Format4Output(result, false))
|
|
}
|