AppDownLoadController.java 1.2 KB
package com.skua.modules.appdownload;

import com.skua.core.api.ISysBaseAPI;
import com.skua.core.api.vo.Result;
import com.skua.core.aspect.annotation.AutoLog;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
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;

/**
* 视频信息
*/
@Slf4j
@Api(tags="APP下载二维码")
@RestController
@RequestMapping("/app/appdownload")
public class AppDownLoadController {

    @Autowired
    private ISysBaseAPI iSysBaseAPI;

    @AutoLog(value = "APP下载二维码")
    @ApiOperation(value="APP下载二维码", notes="APP下载二维码")
    @GetMapping(value = "/getAppDownLoad")
    public Result<Map<String,Object>> getIOSAppDownLoad() {
        Result<Map<String,Object>> result = new Result<Map<String,Object>>();
        Map<String,Object> map = iSysBaseAPI.getIOSAppDownLoad();
        result.setSuccess(true);
        result.setResult(map);
        return result;
    }

}