Browse Source

/camera 暂时不鉴权

release_0.0.2
巴林闲侠 2 years ago
parent
commit
04663f3cbf
  1. 4
      code/VideoAccess-VCMP/api/config.js
  2. 4
      code/VideoAccess-VCMP/script/0.0.1/0_init_db.sql

4
code/VideoAccess-VCMP/api/config.js

@ -82,7 +82,9 @@ const product = {
entry: require('./app').entry,
opts: {
dev,
exclude: [], // 不做认证的路由,也可以使用 exclude: ["*"] 跳过所有路由
exclude: [
{ p: '/camera', o: 'GET' }, // 暂时滴
], // 不做认证的路由,也可以使用 exclude: ["*"] 跳过所有路由
redis: {
host: IOTA_REDIS_SERVER_HOST,
port: IOTA_REDIS_SERVER_PORT,

4
code/VideoAccess-VCMP/script/0.0.1/0_init_db.sql

@ -476,10 +476,6 @@ ALTER TABLE "public"."camera_remark" ADD CONSTRAINT "camera_remark_pk" PRIMARY K
-- ----------------------------
ALTER TABLE "public"."gbCamera" ADD CONSTRAINT "gbCamera1_copy1_pkey" PRIMARY KEY ("id");
-- ----------------------------
-- Primary Key structure for table gbCamera1
-- ----------------------------
ALTER TABLE "public"."gbCamera1" ADD CONSTRAINT "gbCamera_pkey" PRIMARY KEY ("id");
-- ----------------------------
-- Indexes structure for table nvr

Loading…
Cancel
Save