resForm.js 274 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const STATUS_CODE_OK = 200;
const STATUS_CODE_ERROR = 500;

const MSG_OK = "OK!";
const MSG_ERROR = "ERROR!";

const resForm = {
  code: {
    ok: STATUS_CODE_OK,
    err: STATUS_CODE_ERROR,
  },
  msg: {
    ok: MSG_OK,
    err: MSG_ERROR,
  },
};

export default resForm;