utils.go 293 B

12345678910111213
  1. package oss_utils
  2. import (
  3. "context"
  4. "property-device/pb"
  5. pb_v1 "property-device/pb/v1"
  6. )
  7. func OssObjAdd(inList []string, outList []string) error {
  8. mreq := pb_v1.OssObjAddRequest{InList: inList, OutList: outList}
  9. _, err := pb.Common.OssObjAdd(context.Background(), &mreq)
  10. return err
  11. }