|
|
@@ -5,6 +5,7 @@ import org.springblade.core.tool.api.R;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -21,12 +22,13 @@ public interface IGoodsBrandClient {
|
|
|
String ADD_BRAND_LIST = API_PREFIX + "/addBrandList";
|
|
|
|
|
|
/**
|
|
|
- * 获取经销商品牌列表
|
|
|
+ * 添加品牌列表
|
|
|
*
|
|
|
+ * @param brandDescList 品牌数据
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@PostMapping(ADD_BRAND_LIST)
|
|
|
- R addBrandList(List<PjBrandDesc> brandDescList);
|
|
|
+ R addBrandList(@RequestBody List<PjBrandDesc> brandDescList);
|
|
|
|
|
|
/**
|
|
|
* 获取经销商品牌列表
|