Commit 73782f69 by guojuxing

平台规则编辑、删除、查询接口添加

parent bffbcacd
......@@ -14,6 +14,11 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@RestController
@RequestMapping("/config/rule")
public class ConfigRuleController {
......@@ -70,4 +75,15 @@ public class ConfigRuleController {
return ResultControllerUtils.commonPageResult(
dealOperationApiService.pageSceneCategory(search, pageNum, pageSize), SceneCategoryVO.class);
}
@RequestMapping("/list-market-object")
public RestResponse listMarketObject() {
List<Map<String, String>> result = new ArrayList<>(3);
Map<String, String> map = new HashMap<>(8);
map.put("1", "会员卡域");
map.put("2", "服务号域");
map.put("3", "小程序域");
result.add(map);
return RestResponse.success(result);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment