From 6aa0c8feaa9fefacdcf3b3c24dfba0f5d00b96df Mon Sep 17 00:00:00 2001 From: xiaoz Date: Wed, 16 Nov 2022 16:25:43 +0800 Subject: [PATCH] 0.9.26 --- controller/api.php | 2 +- templates/admin/setting/share.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/api.php b/controller/api.php index 80eb4c5..e95020a 100755 --- a/controller/api.php +++ b/controller/api.php @@ -8,7 +8,7 @@ //允许跨域访问 header("Access-Control-Allow-Origin: *"); -header("Access-Control-Allow-Headers: Content-Type, AccessToken, X-CSRF-Token, Authorization, Token,X-Token,X-Cid"); +header("Access-Control-Allow-Headers: Access-Control-Allow-Private-Network,Content-Type, AccessToken, X-CSRF-Token, Authorization, Token,X-Token,X-Cid"); require('./class/Api.php'); $api = new Api($db); diff --git a/templates/admin/setting/share.php b/templates/admin/setting/share.php index 88401a6..98b514b 100644 --- a/templates/admin/setting/share.php +++ b/templates/admin/setting/share.php @@ -172,7 +172,7 @@ } }} ,{field:'password', width:200, title: '密码'} - ,{field:'password', width:200, title: '备注'} + ,{field:'note', width:200, title: '备注'} ,{fixed: 'right', title:'操作', toolbar: '#tooloption'} ]]