瀏覽代碼

修改链接

mxd 5 年之前
父節點
當前提交
bca9981442
共有 2 個文件被更改,包括 21 次插入19 次删除
  1. 14 14
      README.md
  2. 7 5
      src/main/java/org/ssssssss/magicapi/session/Configuration.java

+ 14 - 14
README.md

@@ -4,12 +4,12 @@
 <p align="center">
     <a target="_blank" href="https://www.oracle.com/technetwork/java/javase/downloads/index.html"><img src="https://img.shields.io/badge/JDK-1.8+-green.svg" /></a>
     <a href="https://search.maven.org/search?q=g:org.ssssssss">
-        <img alt="maven" src="https://img.shields.io/maven-central/v/org.ssssssss/ssssssss-core.svg?style=flat-square">
+        <img alt="maven" src="https://img.shields.io/maven-central/v/org.ssssssss/magic-api.svg?style=flat-square">
     </a>
     <a target="_blank" href="https://www.ssssssss.org"><img src="https://img.shields.io/badge/Docs-latest-blue.svg"/></a>
-    <a target="_blank" href="https://github.com/javamxd/ssssssss/releases"><img src="https://img.shields.io/github/v/release/javamxd/ssssssss?logo=github"></a>
-    <a target="_blank" href='https://gitee.com/jmxd/ssssssss'><img src="https://gitee.com/jmxd/ssssssss/badge/star.svg?theme=white" /></a>
-    <a target="_blank" href='https://github.com/javamxd/ssssssss'><img src="https://img.shields.io/github/stars/javamxd/ssssssss.svg?style=social"/></a>
+    <a target="_blank" href="https://github.com/ssssssss-team/magic-api/releases"><img src="https://img.shields.io/github/v/release/ssssssss-team/magic-api?logo=github"></a>
+    <a target="_blank" href='https://gitee.com/ssssssss-team/magic-api'><img src="https://gitee.com/ssssssss-team/magic-api/badge/star.svg?theme=white" /></a>
+    <a target="_blank" href='https://github.com/ssssssss-team/magic-api'><img src="https://img.shields.io/github/stars/ssssssss-team/magic-api.svg?style=social"/></a>
     <a target="_blank" href="LICENSE"><img src="https://img.shields.io/:license-MIT-blue.svg"></a>
     <a target="_blank" href="https://shang.qq.com/wpa/qunwpa?idkey=10faa4cf9743e0aa379a72f2ad12a9e576c81462742143c8f3391b52e8c3ed8d"><img src="https://img.shields.io/badge/Join-QQGroup-blue"></a>
 </p>
@@ -37,16 +37,16 @@
 <!-- 以spring-boot-starter的方式引用 -->
 <dependency>
 	<groupId>org.ssssssss</groupId>
-	<artifactId>ssssssss-spring-boot-starter</artifactId>
-    <version>0.1.0</version>
+	<artifactId>magic-api-spring-boot-starter</artifactId>
+    <version>0.1.1</version>
 </dependency>
 ```
 ## 修改application.properties
 
 ```properties
 server.port=9999
-#配置ssssssss的xml所在位置
-ssssssss.xml-locations: classpath*:ssssssss/**/*.xml
+#配置magic-api的xml所在位置
+magic-api.xml-locations: classpath*:magic-api/**/*.xml
 #以下配置需跟实际情况修改
 spring.datasource.url=jdbc:mysql://localhost/test
 spring.datasource.username=root
@@ -56,18 +56,18 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 
 ## 创建XML
 
-在`src/main/resources/ssssssss/`下建立`user.xml`文件
+在`src/main/resources/magic-api/`下建立`user.xml`文件
 ```xml
 <?xml version="1.0" encoding="utf-8" ?>
-<ssssssss request-mapping="/user" 
+<magic request-mapping="/user" 
         xmlns="http://ssssssss.org/schema"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="http://ssssssss.org/schema http://ssssssss.org/schema/ssssssss-0.1.xsd">
+        xsi:schemaLocation="http://ssssssss.org/schema http://ssssssss.org/schema/magic-0.1.xsd">
     <!-- 访问地址/user/list,访问方法get,并开启分页 -->
     <select-list request-mapping="/list" request-method="get" page="true">
         select username,password from sys_user
     </select-list>
-</ssssssss>
+</magic>
 ```
 
 ## 测试
@@ -93,5 +93,5 @@ spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 ```
 
 # 其它开源项目
-- [ssssssss-spring-boot-starter](https://gitee.com/jmxd/ssssssss-spring-boot-starter)
-- [spider-flow,新一代爬虫平台,以图形化方式定义爬虫流程,不写代码即可完成爬虫](https://gitee.com/jmxd/spider-flow)
+- [magic-api-spring-boot-starter](https://gitee.com/ssssssss-team/magic-api-spring-boot-starter)
+- [spider-flow,新一代爬虫平台,以图形化方式定义爬虫流程,不写代码即可完成爬虫](https://gitee.com/ssssssss-team/spider-flow)

+ 7 - 5
src/main/java/org/ssssssss/magicapi/session/Configuration.java

@@ -166,11 +166,13 @@ public class Configuration implements InitializingBean {
     @Override
     public void afterPropertiesSet() {
         if(this.banner){
-            System.out.println("  ____    ____    ____    ____    ____    ____    ____    ____  ");
-            System.out.println(" / ___|  / ___|  / ___|  / ___|  / ___|  / ___|  / ___|  / ___| ");
-            System.out.println("\\___ \\  \\___ \\  \\___ \\  \\___ \\  \\___ \\  \\___ \\  \\___ \\  \\___ \\ ");
-            System.out.println("  ___) |  ___) |  ___) |  ___) |  ___) |  ___) |  ___) |  ___) |");
-            System.out.println(" |____/  |____/  |____/  |____/  |____/  |____/  |____/  |____/       " + Configuration.class.getPackage().getImplementationVersion());
+
+            System.out.println("  __  __                _           _     ____  ___ ");
+            System.out.println(" |  \\/  |  __ _   __ _ (_)  ___    / \\   |  _ \\|_ _|");
+            System.out.println(" | |\\/| | / _` | / _` || | / __|  / _ \\  | |_) || | ");
+            System.out.println(" | |  | || (_| || (_| || || (__  / ___ \\ |  __/ | | ");
+            System.out.println(" |_|  |_| \\__,_| \\__, ||_| \\___|/_/   \\_\\|_|   |___|");
+            System.out.println("                  |___/                        " + Configuration.class.getPackage().getImplementationVersion());
         }
         if(this.xmlLocations == null){
             logger.error("ssssssss.xml-locations不能为空");