- showapi.GetProductInfoByBarCode
This commit is contained in:
19
platformapi/showapi/showapi_test.go
Normal file
19
platformapi/showapi/showapi_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package showapi
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
||||
var (
|
||||
api *API
|
||||
sugarLogger *zap.SugaredLogger
|
||||
)
|
||||
|
||||
func init() {
|
||||
logger, _ := zap.NewDevelopment()
|
||||
sugarLogger = logger.Sugar()
|
||||
baseapi.Init(sugarLogger)
|
||||
|
||||
api = New(82806, "384f911735334bf7a150f3bd3bdf0c1e")
|
||||
}
|
||||
Reference in New Issue
Block a user