package org.jeecg.modules.ctop.controller;

import org.jeecg.modules.ctop.service.ICrawlerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("appium/crawler")
public class CrawlerController {
    @Autowired
    private ICrawlerService crawlerService;
    @GetMapping("loadInspiration")
    public Map<String, Object> loadInspiration() {
        return crawlerService.loadInspiration();
    }
}
