Browse Source

修改configure表配置

郭超 4 years ago
parent
commit
a4fde39cb1

+ 21 - 15
crowd-service/private-docker/mysql/2_cofortest_structure_and_initdata.sql

@@ -234,11 +234,11 @@ INSERT INTO `configuration` VALUES (8, 'home_searchTypeArr_all', '{\"home_search
 INSERT INTO `configuration` VALUES (9, 'home_searchType', '{\"home_searchType\":0}');
 INSERT INTO `configuration` VALUES (10, 'home_homeTabArr_left', '{\"home_homeTabArr_left\":[{\"label\": \"首页\", \"name\": \"homepage\", \"linkTo\": \"/home\"},{\"label\": \"信创广场\", \"name\": \"square\", \"linkTo\": \"/square\"},{\"label\": \"众测技术\", \"name\": \"technology\", \"linkTo\": \"/technology\"}]}');
 INSERT INTO `configuration` VALUES (11, 'home_searchTypeArr_left_all', '{\"home_homeTabArr_left_all\":[{\"label\": \"首页\", \"name\": \"homepage\", \"linkTo\": \"/home\"},{\"label\": \"信创广场\", \"name\": \"square\", \"linkTo\": \"/square\"},{\"label\": \"众测技术\", \"name\": \"technology\", \"linkTo\": \"/technology\"},{\"label\": \"排行榜\", \"name\": \"ranking\", \"linkTo\": \"www.mooctest.net\"}]}');
-INSERT INTO `configuration` VALUES (12, 'home_homeTabArr_right', '{\"home_homeTabArr_right\":[]}');
+INSERT INTO `configuration` VALUES (12, 'home_homeTabArr_right', '{\"home_homeTabArr_right\":[{\"label\": \"找机构\", \"name\": \"findInstitution\", \"linkTo\": \"/agency/list/show\"},{\"label\": \"找专家\", \"name\": \"findExpert\", \"linkTo\": \"/expert/list\"}]}');
 INSERT INTO `configuration` VALUES (13, 'home_homeTabArr_right_all', '{\"home_homeTabArr_right_all\":[{\"label\": \"找机构\", \"name\": \"findInstitution\", \"linkTo\": \"/agency/list/show\"},{\"label\": \"找专家\", \"name\": \"findExpert\", \"linkTo\": \"/expert/list\"}]}');
 INSERT INTO `configuration` VALUES (14, 'home_homeTabArr_default', '{\"home_homeTabArr_default\":\"homepage\"}');
-INSERT INTO `configuration` VALUES (15, 'HOME_DISPLAY', '{\"HOME_DISPLAY\":{\"test_menu\": true,\"test_card\": true, \"resource_and_tool\": true, \"brand_card\": false, \"institution_card\": false,\"login_card\": true,\"hot_crowd\": false, \"hot_agency\": false, \"hot_user\": false,\"hot_contest\": true,\"hot_task\": true}}');
-INSERT INTO `configuration` VALUES (16, 'HOME_DISPLAY_all', '{\"HOME_DISPLAY_all\":{\"test_menu\": true,\"test_card\": true, \"resource_and_tool\": true, \"brand_card\": true, \"institution_card\": true,\"login_card\": true,\"hot_crowd\": true, \"hot_agency\": true, \"hot_user\": true,\"hot_contest\": true,\"hot_task\": true}}');
+INSERT INTO `configuration` VALUES (15, 'HOME_DISPLAY', '{\"HOME_DISPLAY\":{\"test_menu\": true,\"test_card\": true, \"resource_and_tool\": true, \"brand_card\": false, \"institution_card\": false,\"login_card\": true,\"hot_crowd\": false, \"hot_agency\": false, \"hot_user\": false,\"hot_contest\": true,\"hot_task\": true,\"hot_project\": true}}');
+INSERT INTO `configuration` VALUES (16, 'HOME_DISPLAY_all', '{\"HOME_DISPLAY_all\":{\"test_menu\": true,\"test_card\": true, \"resource_and_tool\": true, \"brand_card\": true, \"institution_card\": true,\"login_card\": true,\"hot_crowd\": true, \"hot_agency\": true, \"hot_user\": true,\"hot_contest\": true,\"hot_task\": true,\"hot_project\": true}}');
 INSERT INTO `configuration` VALUES (17, 'technology_searchTypeArr', '{\"technology_searchTypeArr\":[{\"name\": \"众测工具\",\"value\": \"2\",\"label\": \"工具\"},{\"name\": \"众测案例\",\"value\": \"3\",\"label\": \"案例\"},{\"name\": \"技术文章\",\"value\": \"0\",\"label\": \"文章\"},{\"name\": \"论文专著\",\"value\": \"1\",\"label\": \"专著\"}]}');
 INSERT INTO `configuration` VALUES (18, 'technology_searchTypeArr_all', '{\"technology_searchTypeArr_all\":[{\"name\": \"众测工具\",\"value\": \"2\",\"label\": \"工具\"},{\"name\": \"众测案例\",\"value\": \"3\",\"label\": \"案例\"},{\"name\": \"技术文章\",\"value\": \"0\",\"label\": \"文章\"},{\"name\": \"论文专著\",\"value\": \"1\",\"label\": \"专著\"}]}');
 INSERT INTO `configuration` VALUES (19, 'technology_searchType', '{\"technology_searchType\":\"2\"}');
@@ -255,19 +255,25 @@ INSERT INTO `configuration` VALUES (29, 'user_info_all', '{\"user_info_all\":[{\
 INSERT INTO `configuration` VALUES (30, 'account_security', '{\"account_security\":[{\"label\": \"修改登录密码\", \"linkTo\": \"/personal/modifyPsw\"},{\"label\": \"身份认证\", \"linkTo\": \"/personal/authentication\"}]}');
 INSERT INTO `configuration` VALUES (31, 'account_security_all', '{\"account_security_all\":[{\"label\": \"修改登录密码\", \"linkTo\": \"/personal/modifyPsw\"},{\"label\":\"手机绑定\",\"linkTo\":\"/personal/phoneBinding\"},{\"label\":\"邮箱绑定\",\"linkTo\":\"/personal/mailBinding\"},{\"label\": \"身份认证\", \"linkTo\": \"/personal/authentication\"}]}');
 INSERT INTO `configuration` VALUES (32, 'login_description', '{\"login_description\":\"慕测信创,不一样的深度测试\"}');
-INSERT INTO `configuration` VALUES (34, 'footer_provider_number', '{\"footer_provider_number\":\"ICP备09019504号\"}');
+INSERT INTO `configuration` VALUES (34, 'footer_provider_number', '{\"footer_provider_number\":\"ICP备09019504号\"}');
 INSERT INTO `configuration` VALUES (35, 'footer_provider_number_url', '{\"footer_provider_number_url\":\"http://www.beian.miit.gov.cn/\"}');
-INSERT INTO `configuration` VALUES (36, 'footer_mobile', '{\"footer_mobile\":\"020-32068333-223\"}');
-INSERT INTO `configuration` VALUES (37, 'footer_fax', '{\"footer_fax\":\"020-32068111\"}');
-INSERT INTO `configuration` VALUES (38, 'footer_email', '{\"footer_email\":\"topstest@gdsoftpark.com\"}');
-INSERT INTO `configuration` VALUES (39, 'footer_title_one', '{\"footer_title_one\":\"标准驱动的集成化众测服务\"}');
-INSERT INTO `configuration` VALUES (40, 'footer_title_two', '{\"footer_title_two\":\"平台及示范应用\"}');
-INSERT INTO `configuration` VALUES (41, 'logo_white', '{\"logo_white\":\"/var/www/Platform/logo-white.png\"}');
-INSERT INTO `configuration` VALUES (42, 'logo_background', '{\"logo_background\":\"/var/www/Platform/logo-transparent.png\"}');
-INSERT INTO `configuration` VALUES (43, 'logo_transparent', '{\"logo_transparent\":\"/var/www/Platform/logo-transparent.png\"}');
-INSERT INTO `configuration` VALUES (44, 'footer_QRcode', '{\"footer_QRcode\":\"/var/www/Platform/QRcode.png\"}');
-INSERT INTO `configuration` VALUES (47, 'home_background_url', '{\"home_background_url\":\"/var/www/Platform/home-background.jpeg\"}');
-INSERT INTO `configuration` VALUES (49, 'manage_url', '{\"manage_url\":\"http://47.98.174.59:8097/home\"}');
+INSERT INTO `configuration` VALUES (36, 'footer_mobile', '{\"footer_mobile\":\"电话:020-32068333-223\"}');
+INSERT INTO `configuration` VALUES (37, 'footer_fax', '{\"footer_fax\":\"传真:020-32068111\"}');
+INSERT INTO `configuration` VALUES (38, 'footer_email', '{\"footer_email\":\"电子邮箱:topstest@gdsoftpark.com\"}');
+INSERT INTO `configuration` VALUES (39, 'footer_title_one', '{\"footer_title_one\":\"南京慕测信息科技有限公司\"}');
+INSERT INTO `configuration` VALUES (40, 'footer_title_two', '{\"footer_title_two\":\"软件驱动数据,数据定义未来\"}');
+INSERT INTO `configuration` VALUES (41, 'logo_white', '{\"logo_white\":\"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/image/logo-white.png\"}');
+INSERT INTO `configuration` VALUES (42, 'logo_background', '{\"logo_background\":\"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/image/logo-transparent.png\"}');
+INSERT INTO `configuration` VALUES (43, 'logo_transparent', '{\"logo_transparent\":\"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/image/logo-transparent.png\"}');
+INSERT INTO `configuration` VALUES (44, 'footer_QRcode', '{\"footer_QRcode\":\"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/image/QRcode.png\"}');
+INSERT INTO `configuration` VALUES (47, 'home_background_url', '{\"home_background_url\":\"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/image/home-background.jpeg\"}');
+INSERT INTO `configuration` VALUES (49, 'manage_url', '{\"manage_url\":\"http://139.224.0.118:8200/#/\"}');
+INSERT INTO `configuration` VALUES (50, 'copy_right', '{\"copy_right\":\"版权所有©南京慕测信息科技有限公司\"}');
+INSERT INTO `configuration` VALUES (51, 'internet_content_provider', '{\"internet_content_provider\":\"粤公网安备 44011602000570号\"}');
+INSERT INTO `configuration` VALUES (52, 'name_QRcode', '{\"name_QRcode\":\"官方微信公众号\"}');
+INSERT INTO `configuration` VALUES (53, 'police_photo_url', '{\"police_photo_url\":\"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/image/police.png\"}');
+INSERT INTO `configuration` VALUES (54, 'mooctest_rank_url', '{\"mooctest_rank_url\":\"http://139.224.0.118:8200/#/\"}');
+INSERT INTO `configuration` VALUES (55, 'mooctest_rank_logo_url', '{\"mooctest_rank_logo_url\":\"http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Plantform/image/ranking-bcg.png\"}');
 COMMIT;
 
 -- ----------------------------

+ 1 - 1
shell/oss.sh

@@ -13,7 +13,7 @@ source=$2
 dest=$3
 
 osshost=$bucket.$host
-#osshost=$bucket.$host
+#osshost=$bucket.$inner_host
 # 校验method
 if test -z "$method"
 then