From 7dddaf1596a6488a058618889f66870c163bff0a Mon Sep 17 00:00:00 2001 From: cuibaocheng Date: Fri, 25 Mar 2022 16:35:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E6=97=A5=E7=A8=8B?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=20/=20=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 12 ++++++++++++ .../tenlion/systemoa/SystemOaApplication.java | 2 ++ .../static/assets/images/filetype/audio.png | Bin 0 -> 1160 bytes .../static/assets/images/filetype/image.png | Bin 0 -> 740 bytes .../static/assets/images/filetype/video.png | Bin 0 -> 1134 bytes .../wangEditor/wangEditor-fullscreen-plugin.js | 5 ++++- 6 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/static/assets/images/filetype/audio.png create mode 100644 src/main/resources/static/assets/images/filetype/image.png create mode 100644 src/main/resources/static/assets/images/filetype/video.png diff --git a/pom.xml b/pom.xml index d5c53cd..6331c37 100644 --- a/pom.xml +++ b/pom.xml @@ -68,6 +68,18 @@ service-role 1.0-SNAPSHOT + + + cn.com.tenlion + module-schedule + 1.0-SNAPSHOT + + + + cn.com.tenlion + module-notice + 1.0-SNAPSHOT + com.aspose diff --git a/src/main/java/cn/com/tenlion/systemoa/SystemOaApplication.java b/src/main/java/cn/com/tenlion/systemoa/SystemOaApplication.java index c515c26..5d3e06d 100644 --- a/src/main/java/cn/com/tenlion/systemoa/SystemOaApplication.java +++ b/src/main/java/cn/com/tenlion/systemoa/SystemOaApplication.java @@ -3,9 +3,11 @@ package cn.com.tenlion.systemoa; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.scheduling.annotation.EnableScheduling; import springfox.documentation.swagger2.annotations.EnableSwagger2; @EnableSwagger2 +@EnableScheduling @SpringBootApplication(scanBasePackages = {"ink.wgink", "cn.com.tenlion"}) @MapperScan(basePackages = {"ink.wgink.**.dao", "cn.com.tenlion.**.dao"}) public class SystemOaApplication { diff --git a/src/main/resources/static/assets/images/filetype/audio.png b/src/main/resources/static/assets/images/filetype/audio.png new file mode 100644 index 0000000000000000000000000000000000000000..37618f0e727d41e06a0007a5a765c3ba517a089e GIT binary patch literal 1160 zcmV;31b6$1P)SJ~P4`FaZAcRb(@>1Rx+0NC*x9 zQOe*q>hwM8=5u#$r$b!TXufhvJ?4`oATBWib?s&%2I!i~RAQ8+ZIEYrVcJUjiIB|%Z7OWv1?eK_020pRBb%9xM0kHBa zoCmD3Jb52fi?FytTk!k^$}LBkcpXl|1+aAX{KecS`JI213#C#J;pc$)9D~zZ>VDt) z)sm0K(jZ{@bNLLwuj#}LqXfJ;epSimyd99+ns{0pRA)#F7PiV4XPSWJlk%=y@l_$h z7y-BdIJ!pp@iX|5^P41KApL8JboBYdPN#ofD9k~Tm3;*N-me7qLrB8drzVn1M+L8*&kxhs^t$i7Jh$nuA=>riZ|$<_`IOXhBj z?gA^v1YVXOD z!^C(lpGpwCPcUnM0jd#e!1=@b0icu?C}l|{SjOHF0{_3p3rPP5=`A!j9F+dh2jhg8 zgqU=JVE17^#0g>hUBc~`e>adn-cXsy2(bi!0&a$bUo-)#eyU=PXlcua@Q>E&;Eq4> zwisNh*cmpIKgv4@f)^@tj!?j`v|-w+=>L3h*#+X-sVpX%07!qO>o23m(pBIn1q=ru zJlOD9_1osvIW8bBJ@pt{=WQkhE%(z%hAujt-nz~$lvo1dwm}Rq;2Lmg3Gea+r@j26 z%f1dlK~8{o0BA|>=VzpSa@e`;)pfw*I3q7g>Rf>f(&FAyRG`!WI5RgOl9`q^J9nTEGN| zBx5KMAWkswMR*;~wZ#26$s(rNSDS!oE;fz1Edgn;`k2PF3V2M`N@J~70co)Mn8uuW a1^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kPGDJHg=Z&6>S8tFrFutRDY94%m(Tm2 zZH81VFwJ8$>VT<(VXP!L4QONlXqLj$VDvs6G7rc+KyNpgg}}5S5Ni&=hG&EAZrDaf zp(zp%)Ug22*Ma5rKlb}(-2IRiTs-P~&0DLLV6Y`NsMTN_J}#{Te5`wb-=_;xj`#f> zK#$PdjgF6)bpZVH0To#_+UF|dRK_F=0F;=A1%>Z1<%i?}Ak5|gabYS_`r)if==)>R1AwLckS+lHu=w?G0FJY-W$WRC(+L3TqH$CohEsY0@J@>Ujp+p$ z0Ja+Fz($J4N5R!#ba9qx{TP}LTJMeye!$h4o}M9 z@V;MBbJ>b|xb++mwZKu+%K)&w8;sgwQPayjAoGCif`rz4fv7`p;`D+!K=oDF#D$Jd z0Pps??9o(o3=>9)y6)lWm!*T=vpL15Y6;WBRGj{2b4Vqo6IoM%qnuY~dz3@*qV3If zd84-jQHp1g7QQ=Zx7rQyyq9lPEb>bQ>30vne*`~vZpRmUkpKVy07*qoM6N<$f|Z;U ABLDyZ literal 0 HcmV?d00001 diff --git a/src/main/resources/static/assets/js/vendor/wangEditor/wangEditor-fullscreen-plugin.js b/src/main/resources/static/assets/js/vendor/wangEditor/wangEditor-fullscreen-plugin.js index 617a0b8..b4eb064 100644 --- a/src/main/resources/static/assets/js/vendor/wangEditor/wangEditor-fullscreen-plugin.js +++ b/src/main/resources/static/assets/js/vendor/wangEditor/wangEditor-fullscreen-plugin.js @@ -20,7 +20,10 @@ window.wangEditor.fullscreen = { }, customInsert: function (insertImg, result, editor) { console.log(result); - var url = 'http://192.168.0.104:8082/news/' + result.data[0]; + var locat = (window.location+'').split('/'); + var server = locat[0]+'//'+locat[2]+'/'+locat[3] + "/"; + console.log(server) + var url = server + result.data[0]; insertImg(url); } };