Check.js 372 Bytes
Newer Older
jianglong committed
1 2 3
import Utils from "~/utils"

/**
4 5
 * Sptneg Check规则
 */
jianglong committed
6
let checkObj = {
7 8
    "sptp.ord.extkey"                      :null,
    "sptp.ord.inr"                      :null,
jianglong committed
9 10 11 12 13 14 15 16 17
}

for (const key in checkObj) {
    if (Object.hasOwnProperty.call(checkObj, key)) {
        checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
    }
}
export default checkObj