package interfaces import ( planAType "planA/type" ) // GoodsTask 商品任务接口 type GoodsTask interface { // AddGoodsTask 添加商品任务 AddGoodsTask(bodyWait planAType.TaskBody) (string, error) // SetGoodsTask 设置商品任务 SetGoodsTask() string // GetGoodsTask 获取商品任务 GetGoodsTask() (string, error) // OperationGoodsTask 操作商品任务 OperationGoodsTask(bodyWait planAType.TaskBody) (string, error) // IncStockTask 增量库存 IncStockTask(bodyWait planAType.TaskBody) (string, error) }