From efbc3a31c07e87f4d74b1fbbc28c3ab16aaa650a Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 15 三月 2023 22:56:47 +0800 Subject: [PATCH] 支持登录返回值中携带token --- doc/_content/introduction/deployment.md | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/doc/_content/introduction/deployment.md b/doc/_content/introduction/deployment.md index 0ee803d..804c9fc 100644 --- a/doc/_content/introduction/deployment.md +++ b/doc/_content/introduction/deployment.md @@ -21,19 +21,34 @@ 4. WVP-PRO涓嶼LM鏀寔鍒嗗紑閮ㄧ讲锛屼絾鏄痺vp-pro-assist蹇呴』涓巣lm閮ㄧ讲鍦ㄥ悓涓�鍙颁富鏈�; 5. 鐢熶骇鐜鎸夐渶寮�鏀剧鍙o紝浣嗘槸寤鸿淇敼榛樿绔彛锛屽挨鍏舵槸5060绔彛锛屾槗鍙楀埌鏀诲嚮; 6. zlm浣跨敤docker閮ㄧ讲鐨勬儏鍐碉紝瑕佹眰绔彛鏄犲皠涓�鑷达紝姣斿鏄犲皠5060,搴斿皢澶栭儴绔彛涔熸槧灏勪负5060绔彛; -7. 鍚姩鏈嶅姟锛屼互linux涓轰緥 -**鍚姩WVP-PRO** -jar鍖咃細 +7. 鍚姩鏈嶅姟锛屼互linux涓轰緥 +### 鍚姩WVP-PRO +**jar鍖咃細** ```shell nohup java -jar wvp-pro-*.jar & ``` -war鍖咃細 +**war鍖咃細** 涓嬭浇Tomcat鍚庡皢war鍖呮斁鍏ebapps涓紝鍚姩Tomcat浠ヨВ鍘媤ar鍖咃紝鍋滄Tomcat鍚庯紝鍒犻櫎ROOT鐩綍浠ュ強war鍖咃紝灏嗚В鍘嬪悗鐨剋ar鍖呯洰褰曢噸鍛藉悕涓篟OOT锛屽皢閰嶇疆鏂囦欢涓殑Server.port閰嶇疆涓轰笌Tomcat绔彛涓�鑷� 鐒跺悗鍚姩Tomcat銆� **鍚姩ZLM** ```shell nohup ./MediaServer -d -m 3 & ``` +### 鍓嶅悗绔垎绂婚儴缃� +鍓嶅悗绔儴缃茬洰鍓嶅湪鏈�鏂扮殑鐗堟湰宸茬粡鏀寔锛岃浣跨敤3鏈�15鏃ヤ箣鍚庣殑鐗堟湰閮ㄧ讲 +鍓嶇缂栬瘧鍚庣殑鏂囦欢鍦╜src/main/resources/static`涓紝灏嗘鐩綍涓嬬殑鏂囦欢閮ㄧ讲銆� +鍓嶅悗绔垎绂婚儴缃叉渶澶х殑闂鏄法鍩熺殑瑙e喅锛屼箣鍓嶇増鏈娇鐢╟ookie瀹屾垚鐧诲綍娴佺▼锛岃�宑ookie鏄笉鍙互鍦ㄥ鏉傝法鍩熶腑浣跨敤鐨勩�傛墍浠ュ綋鍓嶇増鏈娇鐢↗WT鐢熸垚鐨凾OKEN浣滀负璁よ瘉鍑嵁锛� +閮ㄧ讲鍓嶇鍚庨渶瑕佸湪wvp涓厤缃墠绔闂殑鍦板潃浠ュ畬鎴愯法鍩熸祦绋嬨�� +鍔犲叆浣犵殑鏈嶅姟鏈夊叕缃戝煙鍚嶄负xxx.com锛屽叕缃慖P涓�11.11.11.11锛� 閭d箞浣犲彲浠ュ湪wvp涓繖鏍烽厤缃細 +```yaml +user-settings: + # 璺ㄥ煙閰嶇疆锛岄厤缃綘璁块棶鍓嶇椤甸潰鐨勫湴鍧�鍗冲彲锛� 鍙互閰嶇疆澶氫釜 + allowed-origins: + - http://xxx.com:8008 + - http://11.11.11.11:8008 +``` +閰嶇疆涓嶆槸蹇呴』鐨勶紝浣犱娇鐢ㄥ摢涓猧p/鍩熷悕璁块棶灏遍厤缃摢涓嵆鍙�備慨鏀归厤缃悗閲嶅惎wvp浠ヤ娇閰嶇疆鐢熸晥銆� + [鎺ュ叆璁惧](./_content/ability/device.md) -- Gitblit v1.8.0