File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
xxl-job-admin/src/main/java/com/xxl/job/admin/controller/biz Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -860,6 +860,8 @@ XXL-JOB 是一个开源且免费项目,其正在进行的开发完全得益于
860860 - 705、深圳市极能超电数字科技有限公司
861861 - 706、安克创新科技股份有限公司【安克】
862862 - 707、大庆点神科技有限公司
863+ - 708、浙江零跑科技股份有限公司【零跑】
864+ - 709、成都成电金盘健康数据技术有限公司
863865 - ……
864866
865867> 更多接入的公司,欢迎在 [ 登记地址] ( https://github.com/xuxueli/xxl-job/issues/1 ) 登记,登记仅仅为了产品推广。
Original file line number Diff line number Diff line change @@ -804,6 +804,8 @@ XXL-JOB是一个分布式任务调度平台,其核心设计目标是开发迅
804804 - 705、深圳市极能超电数字科技有限公司
805805 - 706、安克创新科技股份有限公司【安克】
806806 - 707、大庆点神科技有限公司
807+ - 708、浙江零跑科技股份有限公司【零跑】
808+ - 709、成都成电金盘健康数据技术有限公司
807809 - ……
808810
809811> 更多接入的公司,欢迎在 [ 登记地址] ( https://github.com/xuxueli/xxl-job/issues/1 ) 登记,登记仅仅为了产品推广。
Original file line number Diff line number Diff line change 1212import com .xxl .sso .core .annotation .XxlSso ;
1313import com .xxl .tool .core .CollectionTool ;
1414import com .xxl .tool .core .StringTool ;
15+ import com .xxl .tool .http .HttpTool ;
1516import com .xxl .tool .response .PageModel ;
1617import com .xxl .tool .response .Response ;
1718import jakarta .annotation .Resource ;
@@ -98,6 +99,9 @@ public Response<String> insert(XxlJobGroup xxlJobGroup){
9899 if (StringTool .isBlank (item )) {
99100 return Response .ofFail ( I18nUtil .getString ("jobgroup_field_registryList_unvalid" ) );
100101 }
102+ if (!(HttpTool .isHttp (item ) || HttpTool .isHttps (item ))) {
103+ return Response .ofFail ( I18nUtil .getString ("jobgroup_field_registryList_unvalid" )+"[2]" );
104+ }
101105 }
102106 }
103107
@@ -141,6 +145,9 @@ public Response<String> update(XxlJobGroup xxlJobGroup){
141145 if (StringTool .isBlank (item )) {
142146 return Response .ofFail (I18nUtil .getString ("jobgroup_field_registryList_unvalid" ) );
143147 }
148+ if (!(HttpTool .isHttp (item ) || HttpTool .isHttps (item ))) {
149+ return Response .ofFail ( I18nUtil .getString ("jobgroup_field_registryList_unvalid" )+"[2]" );
150+ }
144151 }
145152 }
146153
You can’t perform that action at this time.
0 commit comments