package com.corewing.app.modules.app;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 隐私政策与协议
 */
@Controller
@RequestMapping("/agreement")
public class AppAgreementController {

    /**
     * 隐私政策列表
     * @return
     */
    @GetMapping("/viewList/{lang}")
    public String viewList(@PathVariable String lang) {
        return "app/agreement/index";
    }

}
