import { MethodType } from "../enum/method-type.enum";
import { HeaderType } from "../enum/header-type.enum";
import { API_PREFIX } from "../config/base.config";

const prefix = API_PREFIX + "/sys-msg";

const sysMsgApi = {
  querySysMsgCount: {
    url: prefix + "/query-sys-msg-count",
    method: MethodType.GET.code,
    header: HeaderType.AUTH.code,
  },
  delete: {
    url: prefix + "/delete",
    method: MethodType.POST.code,
    header: HeaderType.AUTH.code,
  },
  deleteUserMsg: {
    url: prefix + "/delete-user-msg",
    method: MethodType.DELETE.code,
    header: HeaderType.AUTH.code,
  },
  querySysMsgByUser: {
    url: prefix + "/query-sys-msg-by-user",
    method: MethodType.GET.code,
    header: HeaderType.AUTH.code,
  },
};
export default sysMsgApi;
