<!--
 - MineAdmin is committed to providing solutions for quickly building web applications
 - Please view the LICENSE file that was distributed with this source code,
 - For the full copyright and license information.
 - Thank you very much for using MineAdmin.
 -
 - @Author X.Mo<root@imoi.cn>
 - @Link   https://gitee.com/xmo/mineadmin-vue
-->
<template>
    <div class="p-10">
        <a-table :data="data" :columns="columns" :pagination="false"></a-table>
    </div>
</template>

<script setup>
import { reactive } from "vue"
const columns = reactive([
    { title: "代码标识", dataIndex: "code" },
    { title: "英文标识", dataIndex: "label" },
    { title: "释义说明", dataIndex: "remark" }
])

const data = reactive([
    { code: 2000, label: "METHOD_NOT_ALLOW", remark: "使用了不允许的访问方法" },
    { code: 2100, label: "NOT_FOUND", remark: "资源不存在" },
    { code: 2150, label: "INTERFACE_EXCEPTION", remark: "接口异常" },
    { code: 2200, label: "RESOURCE_STOP", remark: "资源被停用" },
    { code: 2300, label: "APP_BAN", remark: "APP被停用" },
    { code: 10000, label: "API_AUTH_EXCEPTION", remark: "接口鉴权异常" },
    { code: 10010, label: "API_AUTH_FAIL", remark: "接口鉴权失败" },
    { code: 10020, label: "API_UNBIND_APP", remark: "接口未被该应用绑定" },
    { code: 10011, label: "API_APP_ID_MISSING", remark: "缺少APP ID" },
    { code: 10102, label: "API_APP_SECRET_MISSING", remark: "缺少APP SECRET" },
    { code: 10103, label: "API_ACCESS_TOKEN_MISSING", remark: "缺少 ACCESS TOKEN" },
    { code: 10104, label: "API_PARAMS_ERROR", remark: "API参数错误" },
    { code: 10105, label: "API_SIGN_MISSING", remark: "缺少签名" },
    { code: 10106, label: "API_SIGN_ERROR", remark: "签名错误" },
    { code: 10107, label: "API_IDENTITY_MISSING", remark: "缺少身份认证信息" },
    { code: 10108, label: "API_IDENTITY_ERROR", remark: "身份认证信息错误" },
    { code: 10160, label: "API_VERIFY_PASS", remark: "API验证通过" }
])
</script>
