Explorar el Código

feat(store): 更新门店OCR接口参数名称

- 将接口参数storeId更名为storeUserId以提高语义清晰度
- 更新了API文档中的参数描述以匹配新的变量名
- 保持了接口功能和逻辑不变,仅修改参数命名一致性
Lhaibo hace 1 semana
padre
commit
0b8f9f6514

+ 2 - 2
alien-store/src/main/java/shop/alien/store/controller/StoreInfoController.java

@@ -768,11 +768,11 @@ public class StoreInfoController {
     @ApiOperation(value = "AI服务-门头识别")
     @ApiOperationSupport(order = 16)
     @ApiImplicitParams({
-            @ApiImplicitParam(name = "storeId", value = "门店用户id", dataType = "String", paramType = "query", required = true),
+            @ApiImplicitParam(name = "storeUserId", value = "门店用户id", dataType = "String", paramType = "query", required = true),
             @ApiImplicitParam(name = "imageUrl", value = "图片URL", dataType = "String", paramType = "query", required = true)
     })
     @GetMapping("/getStoreOcrData")
-    public R<Map<String, Object>> getStoreOcrData(@RequestParam("storeId") String storeUserId,
+    public R<Map<String, Object>> getStoreOcrData(@RequestParam("storeUserId") String storeUserId,
                                              @RequestParam("imageUrl") String imageUrl) {
         log.info("StoreInfoController.getStoreOcrData?storeId={},imageUrl={}", storeUserId, imageUrl);
         if (storeUserId == null || storeUserId.trim().isEmpty() || imageUrl == null || imageUrl.trim().isEmpty()) {