Compare commits
837 Commits
Author | SHA1 | Date |
---|---|---|
zouyf | a4a839931d | |
“zouyf” | 1844af01da | |
“zouyf” | 163764cf1c | |
“zouyf” | 7273f7f835 | |
lyc | 28ba027407 | |
lyc | b35daeb3c7 | |
baigl | a7ac61e32f | |
白了个白 | f58a38dceb | |
“zouyf” | cb910068e0 | |
“zouyf” | 01ee2c8c85 | |
“zouyf” | 768b3e7abf | |
“zouyf” | f504cee74b | |
白了个白 | 6c66c97e33 | |
白了个白 | 2929997d17 | |
zouyf | 96c074d396 | |
zouyf | 15633f065f | |
zouyf | 9d45b72771 | |
白了个白 | f5c42958f4 | |
白了个白 | 3b8e36454a | |
白了个白 | dd64e4e085 | |
“zouyf” | 7740346b49 | |
baigl | dfd56d6f52 | |
白了个白 | ea3e416f8f | |
白了个白 | 5e948d9b95 | |
“zouyf” | a75e4bcc52 | |
白了个白 | 201b10a91e | |
白了个白 | a918aa18e9 | |
“zouyf” | 6c87321900 | |
白了个白 | 1cc0bf965e | |
白了个白 | 2407e66e66 | |
zhengdegang | 09914eb8f9 | |
zdg | f1cdb7b400 | |
白了个白 | 033c0a3b19 | |
zhengdegang | d4f58d8a05 | |
zdg | a4647ff828 | |
zdg | 7e18f2e9d9 | |
白了个白 | b07a4e07b9 | |
白了个白 | 4be888e39e | |
白了个白 | e1c8ab42d9 | |
zhengdegang | e79d554987 | |
zdg | fbacb32940 | |
zhengdegang | 7d20a7ee50 | |
zdg | e494c303f0 | |
zdg | 0fcaf3f3e7 | |
zouyf | 91f43987f7 | |
“zouyf” | 9ab2c17b3e | |
“zouyf” | 21dfced02e | |
zhengdegang | c3d6c2a57b | |
zdg | 674f98a53a | |
zdg | d4a02e85ce | |
lyc | 4fbd4d8f0f | |
lyc | 4578bbca58 | |
yangws | 8cffee606a | |
小杨 | 9e24b6111d | |
yangws | 0433febf06 | |
小杨 | 6370086c85 | |
zhengdegang | 7da598b30e | |
zdg | eafdb718b6 | |
zdg | d44516226e | |
yangws | 4afa20808c | |
小杨 | a0327ad556 | |
baigl | ada6659666 | |
白了个白 | d65eb565e5 | |
zouyf | 678f43e548 | |
“zouyf” | 8f4845a37c | |
白了个白 | 2db7d3e872 | |
“zouyf” | 4c10409e07 | |
zhengdegang | 4418d1ae27 | |
zdg | fc7868afa6 | |
zdg | 1b3d226412 | |
zhengdegang | fb5daf221f | |
zdg | eca5f8f815 | |
“zouyf” | d845377879 | |
“zouyf” | 90d37e725b | |
yangws | adc4f99636 | |
小杨 | 531a62ad64 | |
lyc | 6ca1fb0883 | |
lyc | f836085c68 | |
zouyf | cf49fbf23f | |
zouyf | f3d90b7d95 | |
yangws | 06cb96c7bc | |
小杨 | 8784c0cfe3 | |
yangws | 9e13e3dfb5 | |
小杨 | c8aae6f408 | |
baigl | 13f7398d79 | |
白了个白 | 6ef29f2b5a | |
白了个白 | 5cf7d737d6 | |
baigl | 346b07e47a | |
白了个白 | 743d8e05d3 | |
yangws | 7c9b2755f2 | |
小杨 | 25acd398ff | |
yangws | fe078e7ce5 | |
小杨 | eaaba2b5e8 | |
zhengdegang | 4816a4565b | |
zdg | 8b55ebffa5 | |
zdg | 9674c68d11 | |
朱浩 | 906559134e | |
朱浩 | ed3559f34f | |
yangws | f224f8b048 | |
小杨 | 5790e87a85 | |
yangws | 4b6a7918a9 | |
小杨 | 7e71af0cb7 | |
zouyf | bdc508a0fa | |
“zouyf” | fab449cc96 | |
“zouyf” | 5879f3d5e8 | |
朱浩 | 4d20a27177 | |
朱浩 | 302c82503a | |
朱浩 | afd1a1dcf9 | |
zhengdegang | 9c1cd2a2fc | |
zdg | dc39486620 | |
zdg | 62881bc052 | |
zouyf | 812e799e2a | |
“zouyf” | b5b6272141 | |
“zouyf” | 027d0ebe07 | |
yangws | a731dff62c | |
小杨 | dac36e611d | |
yangws | b574464a1e | |
小杨 | eba6727dc0 | |
朱浩 | 521247f817 | |
lyc | 8a759479bd | |
lyc | e891259413 | |
yangws | 14340e211d | |
小杨 | 24ce28f2e2 | |
小杨 | 0de7a7356e | |
lyc | 0b4019957f | |
lyc | e457ac9baf | |
baigl | 7b2ad4ce64 | |
白了个白 | 758081d9e5 | |
白了个白 | a7a84b3738 | |
yangws | 6467203c26 | |
小杨 | 49b4ba1f02 | |
小杨 | 2c2c5b32e9 | |
zouyf | 2f726bccfb | |
“zouyf” | 6112cc8a92 | |
“zouyf” | d05388cb05 | |
“zouyf” | cca640e945 | |
baigl | 08ed5c9f2f | |
白了个白 | 35a00e2aca | |
“zouyf” | ab127958f9 | |
“zouyf” | ef75fb7570 | |
白了个白 | e3ce510322 | |
朱浩 | 79cb126728 | |
朱浩 | 810a734fa5 | |
zouyf | bcc9a66df6 | |
“zouyf” | 0f425d9277 | |
“zouyf” | 8c36d59b19 | |
“zouyf” | a229e9933e | |
朱浩 | b43422f389 | |
yangws | 6c1bb40826 | |
小杨 | ea861dd2ea | |
lyc | ff2e05fb6b | |
lyc | b7425da4da | |
zouyf | b0075b86ba | |
yangws | 54d4896e18 | |
小杨 | 3042e874e4 | |
zouyf | 92f23a35f9 | |
zouyf | 64e91dffbe | |
qinqing | 80c38152d2 | |
qinqing | 0cefb94721 | |
yangws | 5ff18bf4aa | |
小杨 | 688f200d43 | |
小杨 | 46d5078cac | |
朱浩 | cf05038c0d | |
朱浩 | a72177d02e | |
朱浩 | 39f46a1709 | |
朱浩 | d03e6e2fbc | |
朱浩 | 770a847e91 | |
朱浩 | 6f35ad8a1a | |
zouyf | 4e7b9f0a82 | |
qinqing | 7b4e6d0b10 | |
qinqing | 04d2e47882 | |
“zouyf” | 17e8e43ad4 | |
qinqing | ea2de75415 | |
“zouyf” | 38b17333ab | |
baigl | d58dff8731 | |
白了个白 | 40d83c4cb3 | |
小杨 | 6b63235084 | |
白了个白 | 8ba6e15020 | |
朱浩 | bddcf2d4ff | |
lyc | 8f91be9a4b | |
lyc | 75384c8057 | |
朱浩 | bed3ef96a7 | |
qinqing | f5497aa856 | |
qinqing | 47329aea75 | |
qinqing | 52275e1de6 | |
朱浩 | 6fe5ee5703 | |
qinqing | 8dba05c0d4 | |
qinqing | b4fefdd0cf | |
lyc | e4114bf1b4 | |
lyc | 95f94f0c3e | |
lyc | 4dbb5d2224 | |
lyc | 3430ad75ca | |
baigl | 388fc2b2b4 | |
白了个白 | 1a671d7dd2 | |
白了个白 | 0d21b1de53 | |
“zouyf” | 0a2d3f54b7 | |
“zouyf” | 45c2e35a66 | |
朱浩 | 68de31c569 | |
朱浩 | 45485c04fc | |
zhengdegang | e8763793a7 | |
zdg | a3b940f138 | |
zdg | 548442f278 | |
朱浩 | e02f67e3e5 | |
朱浩 | 6de43cbab3 | |
朱浩 | 9552e75f18 | |
zdg | d7f17c253d | |
zdg | ea6c56a401 | |
白了个白 | 2bcf780b7b | |
baigl | 83c377fd9e | |
白了个白 | a8c823030b | |
白了个白 | cc2606d507 | |
yangws | a83cbc2ba2 | |
小杨 | a521010392 | |
白了个白 | b132bb5813 | |
baigl | 09575b9896 | |
白了个白 | 436cde508c | |
白了个白 | 0e42ce08e1 | |
baigl | be4f9d2499 | |
白了个白 | 6a8b0f82e8 | |
白了个白 | d290be9320 | |
朱浩 | 670c457a9f | |
yangws | 16761d3fc8 | |
小杨 | 03b5eccab0 | |
baigl | add2a3e621 | |
白了个白 | f18d0c0e5e | |
白了个白 | e57e643f67 | |
朱浩 | 39aa3b157d | |
白了个白 | 1a9f98e6c9 | |
白了个白 | e53731ac3f | |
白了个白 | a1002a1f40 | |
zdg | 6be26f19cd | |
zdg | d40873d198 | |
白了个白 | 7c539614fd | |
朱浩 | ae433b7520 | |
朱浩 | 16b574a167 | |
朱浩 | 8a90da5b64 | |
白了个白 | 2b25924213 | |
白了个白 | f3d59ca8ee | |
白了个白 | 6163fb06f9 | |
zhengdegang | 206a81eeee | |
zdg | b68e5c449b | |
zdg | bf7c9839c7 | |
朱浩 | d1f3abcc72 | |
zdg | 781a62c137 | |
zouyf | 4d9ae0ab90 | |
朱浩 | d39d96f733 | |
“zouyf” | 26c388f31c | |
“zouyf” | d9ddb1982b | |
朱浩 | 3942f894b0 | |
朱浩 | ec8f7b5727 | |
朱浩 | fe9e0c1fe2 | |
yangws | 1a447b30fb | |
小杨 | 1c9a3762ef | |
lyc | ea88aa959d | |
lyc | d534340f88 | |
lyc | ad2c37be82 | |
朱浩 | 7fa76e0f7e | |
zhengdegang | 540229cd9b | |
zdg | 2115d2c76a | |
yangws | d068d4e71a | |
小杨 | 1ef4615587 | |
baigl | a853214741 | |
白了个白 | 7d71cbd398 | |
白了个白 | 2f3b2e8c8f | |
白了个白 | 5b818d2dd8 | |
朱浩 | b3e75e799e | |
白了个白 | b0415ecafa | |
qinqing | 1724419848 | |
qinqing | 37652cd803 | |
qinqing | 506f95060b | |
qinqing | d68e4fef0b | |
qinqing | fcc0af04cb | |
qinqing | 944d94a202 | |
白了个白 | c3787eef0f | |
lyc | 14c4ede80e | |
lyc | bf642ddc79 | |
白了个白 | ed035f94ed | |
baigl | 35af866a53 | |
白了个白 | 58988313b7 | |
朱浩 | 81cd69beb9 | |
朱浩 | 0bb03dad5e | |
qinqing | eca1a927c0 | |
qinqing | 7cab923fa4 | |
baigl | 3fb3af9cae | |
白了个白 | 96ef7da95a | |
zouyf | ee4088ad75 | |
“zouyf” | 082a824adf | |
“zouyf” | b35cba4e31 | |
白了个白 | 2ad1904802 | |
白了个白 | 8ff117ab53 | |
qinqing | 6911a92ecb | |
zouyf | 5b1986afaf | |
“zouyf” | df46413c1c | |
“zouyf” | cd5abd864d | |
朱浩 | 155631a3e3 | |
朱浩 | f209bc673f | |
朱浩 | acc20b79f1 | |
朱浩 | b4dca57828 | |
朱浩 | 3c064ebffd | |
朱浩 | 07fa4c9790 | |
朱浩 | e253a6c9dc | |
“zouyf” | f6f804a09e | |
zouyf | 89097eab31 | |
lyc | ef18d4adf4 | |
lyc | bff59d699f | |
lyc | 7d457782cc | |
“zouyf” | d0947da293 | |
“zouyf” | fd734ab645 | |
baigl | 233d065f9c | |
白了个白 | 8b7858615e | |
白了个白 | 8dafce9d86 | |
zouyf | ad541fd929 | |
“zouyf” | 6038ae3bd6 | |
“zouyf” | 93abc4905c | |
白了个白 | ccf8f2c8fb | |
lyc | 05286236b7 | |
lyc | 039dfe2e09 | |
lyc | 0cd00809ed | |
白了个白 | e7f439dd0c | |
lyc | 95965aa4b5 | |
lyc | ad5025f6aa | |
朱浩 | 4b2f2aa73a | |
朱浩 | 71bd199f4a | |
白了个白 | f0313653e6 | |
lyc | 615be3302c | |
lyc | 3921c1a425 | |
lyc | 34da5fb432 | |
zouyf | 9c21458c57 | |
“zouyf” | 1a20fcc835 | |
白了个白 | 68388b9c86 | |
白了个白 | 7a878fc5b0 | |
白了个白 | aea10a5bba | |
lyc | a1c5236c8f | |
lyc | 8bddb166a3 | |
白了个白 | 4b3c511af1 | |
lyc | 22c377cd57 | |
lyc | 8a17273605 | |
zhengdegang | b13dae5b92 | |
zdg | a7743ba249 | |
zdg | 3038223a7f | |
白了个白 | acd1cb3485 | |
lyc | 5e247006c5 | |
lyc | f2387c709a | |
lyc | 03f98c8beb | |
lyc | b085d96c0e | |
白了个白 | 2e27d3e7fb | |
白了个白 | cc26ea4780 | |
zhengdegang | 9b5a2ec88d | |
zdg | 32b0cdafc6 | |
zdg | 17e3ee62df | |
zhengdegang | 1f43e70175 | |
zdg | 0973128e0e | |
zdg | 61493a7f4e | |
lyc | 3992cc814a | |
lyc | 19e385ec24 | |
baigl | bac959c0bb | |
白了个白 | e72710f027 | |
白了个白 | 9a74630e56 | |
zhengdegang | 28b189e965 | |
zdg | 8ea28d2635 | |
zdg | 352bb9be97 | |
zhengdegang | 7c8e10628b | |
zdg | 0ea299c317 | |
zouyf | 5fa328fd93 | |
“zouyf” | eab46ec7f4 | |
“zouyf” | 81dd59f564 | |
lyc | 7c36255508 | |
lyc | 310d1aee59 | |
zhengdegang | 3caa561610 | |
zdg | ada2e63060 | |
zdg | eaf9d508d4 | |
朱浩 | 716c1dd0a9 | |
“zouyf” | cb15855fc1 | |
朱浩 | 76f053d8c8 | |
yangws | 988c6160bb | |
小杨 | 0119a92501 | |
yangws | e1dfc0f8b4 | |
小杨 | 31f9ec61ea | |
“zouyf” | 7b3f00ba67 | |
baigl | 042f8e5907 | |
“zouyf” | 2ca4117561 | |
白了个白 | db20978575 | |
白了个白 | 2887528e9e | |
baigl | 34900832ba | |
白了个白 | 2e1fe84bcd | |
白了个白 | 2b074df0b5 | |
白了个白 | 065e215a81 | |
白了个白 | c78c166044 | |
白了个白 | aa6a996808 | |
朱浩 | 0511256094 | |
lyc | 2a75aef245 | |
lyc | bd82605109 | |
朱浩 | e2e8cae690 | |
lyc | 1edef92586 | |
lyc | d330b4cd55 | |
朱浩 | db2218b1c5 | |
朱浩 | 926f45f232 | |
朱浩 | 5c0cc9a91c | |
zhengdegang | 1152859479 | |
zdg | 68cf2bae1f | |
zdg | 785b70d888 | |
zdg | cae110c686 | |
qinqing | 0d5e9755cb | |
qinqing | 8eff515fd8 | |
qinqing | cf38097739 | |
lyc | 21215150bb | |
lyc | 773a795707 | |
lyc | 3b84a340aa | |
zouyf | b1b4d8e9e1 | |
“zouyf” | c3bd7b31ee | |
“zouyf” | def2bd32da | |
lyc | 2ec9941a20 | |
lyc | 8a60ce4ef9 | |
zouyf | 9b33b7d6e6 | |
“zouyf” | 8a0b73d07b | |
“zouyf” | 4066992aa2 | |
zouyf | 23b9ab3801 | |
“zouyf” | a2a263a35a | |
lyc | bf7258f005 | |
lyc | 14e87351c5 | |
lyc | eb78a80131 | |
zhangxuelin | 40e660f44a | |
朱浩 | 49f87a4709 | |
朱浩 | 4efc8108e5 | |
朱浩 | 9d18bb2cdf | |
zhangxuelin | a0e0388df8 | |
lyc | 213eacb689 | |
lyc | 773d0c1957 | |
朱浩 | 7a978ddf55 | |
qinqing | 30bcc7bfc1 | |
qinqing | e7a36ddfba | |
qinqing | c517fa14af | |
朱浩 | dcbd288a0a | |
lyc | 38d3e6a906 | |
lyc | a24da0f6a6 | |
lyc | bb486e2bd2 | |
白了个白 | 5089ecce3d | |
朱浩 | b884700a62 | |
朱浩 | 4816a7c5c8 | |
qinqing | 443ecf0ecf | |
baigl | 93a5ffef20 | |
白了个白 | d247d22288 | |
白了个白 | a3084e0546 | |
白了个白 | 551bd62ae3 | |
qinqing | b7adda1510 | |
qinqing | a3e6aca890 | |
zouyf | 4e478f487a | |
“zouyf” | 2a4b0281c2 | |
“zouyf” | b76a589672 | |
lyc | 5660d8d167 | |
lyc | 7845d0e0a1 | |
lyc | 40089a2cd0 | |
lyc | 9329da9ddf | |
qinqing | f7262effc3 | |
qinqing | 8fd5edf141 | |
qinqing | ff441c6579 | |
qinqing | cf331b9c63 | |
“zouyf” | b6d9082e1b | |
baigl | 918504570f | |
白了个白 | 0fc08f647f | |
白了个白 | d4a20347db | |
白了个白 | 2a95f08bb2 | |
白了个白 | a33ff1abea | |
“zouyf” | c957961a0b | |
朱浩 | 09159ae2d8 | |
朱浩 | d3a3acdedc | |
朱浩 | 1a678afb89 | |
朱浩 | da20aecfc6 | |
朱浩 | d46a86e303 | |
“zouyf” | 26576ad086 | |
qinqing | 32baef766f | |
qinqing | 65f959c492 | |
qinqing | 4d7b69c8c2 | |
yangws | 0e832a4a32 | |
小杨 | c1d6cb7767 | |
白了个白 | 458596547e | |
朱浩 | 53ce42cc59 | |
朱浩 | 0d71dee801 | |
白了个白 | 5f8ea627d0 | |
白了个白 | 820a4e04f7 | |
白了个白 | 2e2e29808f | |
白了个白 | f346285528 | |
yangws | 4596ce4911 | |
zhengdegang | 83e985e0d6 | |
zdg | 20ca8f71d6 | |
zdg | c9292af67b | |
lyc | fa6f61e3b3 | |
lyc | bfa7cc4cd9 | |
lyc | 852b92e1f3 | |
qinqing | 56a44740b6 | |
qinqing | f00fa243c1 | |
qinqing | 82e02f472b | |
qinqing | 3e532c1afd | |
lyc | 47390723a7 | |
lyc | 713a592bcf | |
yangws | d1ae68d184 | |
白了个白 | 54a24ed077 | |
lyc | 3dc36cbc34 | |
lyc | 781829373a | |
朱浩 | 1be00156a8 | |
朱浩 | dafe13a1a7 | |
zhengdegang | 776e77a88c | |
zdg | 7145658d13 | |
zdg | 372371e2f0 | |
lyc | 2f49d42418 | |
lyc | 8b9cc3f1ee | |
朱浩 | 3b4f463883 | |
zdg | a05cf19e74 | |
白了个白 | 6b24749db9 | |
朱浩 | 9a5581cea3 | |
lyc | a5ad6c2250 | |
lyc | 60e31f4b43 | |
yangws | e36ede941c | |
“zouyf” | d1ab430a6c | |
白了个白 | e59071c16b | |
yangws | 87a50c397f | |
白了个白 | e70d6b0539 | |
白了个白 | 96098c899f | |
朱浩 | 6b9949dfae | |
朱浩 | 56976c6642 | |
朱浩 | 27c7033522 | |
朱浩 | 4c66cc90c0 | |
lyc | c2b54714ac | |
lyc | cafea2d719 | |
yangws | d5afede36c | |
朱浩 | dfe28eb037 | |
朱浩 | 03e61c8440 | |
朱浩 | 79b9a0726a | |
朱浩 | 0ccde18f00 | |
朱浩 | 274c80ad0a | |
yangws | 923006eab1 | |
yangws | a64ba24742 | |
lyc | df1f8737bd | |
lyc | 19a3b948c5 | |
朱浩 | 622cdfe0fe | |
朱浩 | 78b795bf4f | |
lyc | 92667a7d25 | |
lyc | 71f7e4e5a1 | |
zdg | 6935bec1e4 | |
qinqing | 2532dc5fc2 | |
朱浩 | 3cced30959 | |
朱浩 | ef9fe838a3 | |
qinqing | f67380b2c9 | |
zhangxuelin | 9ff824e082 | |
zhangxuelin | 8975784ce0 | |
lyc | e586755b75 | |
lyc | ef771f4e0b | |
朱浩 | 049768c8b6 | |
朱浩 | ac599a2c39 | |
lyc | 00871797bf | |
lyc | fa7a44472b | |
lyc | 85529ad81f | |
lyc | f9a87143aa | |
zhengdegang | 17ef183741 | |
zdg | d5833f6f03 | |
zdg | c93eeeb308 | |
zhengdegang | 0d48111e50 | |
zdg | ca57e72e9c | |
zhengdegang | 928a1401db | |
zdg | e0d3a6da6a | |
zdg | 1a9b426ec3 | |
lyc | d4cfedf883 | |
lyc | b5fd1f2a9d | |
lyc | c6477d5ca9 | |
lyc | 27ec047981 | |
zhengdegang | 7da4defed4 | |
zdg | 51cb1989a1 | |
zdg | 4ab4d5dff2 | |
lyc | 80d6e1c59c | |
lyc | 75c6777933 | |
朱浩 | a75f151b19 | |
朱浩 | 2531c25d7c | |
朱浩 | 9e5527d822 | |
朱浩 | e002ef5f7d | |
朱浩 | 2ca637072d | |
baigl | bd7f6f765f | |
白了个白 | ef6c3d2a2b | |
白了个白 | 9ea05568e1 | |
zhengdegang | 93a061ca78 | |
zdg | c5075af2fc | |
zdg | 7da60f0815 | |
zdg | 02a25db5e2 | |
yangws | 59de30b6b2 | |
yangws | 746cb150c4 | |
lyc | 893be27671 | |
lyc | b0b429c7aa | |
lyc | dbfa1a4037 | |
lyc | ce8b2e6ab0 | |
baigl | a082b437b7 | |
白了个白 | 9eb6d991c1 | |
白了个白 | 0cbb513a60 | |
lyc | be765b21b6 | |
lyc | 34c1c66b31 | |
lyc | 5f06657b09 | |
白了个白 | 3ec25f07b4 | |
“zouyf” | 7f9afedef9 | |
zhengdegang | aa35621b59 | |
zdg | 49de9ee9c2 | |
zdg | 0ef5ef424f | |
baigl | 89ae43a458 | |
白了个白 | 9d7aad1946 | |
lyc | db2be260a7 | |
“zouyf” | 7dcfd487fc | |
baigl | b06ad0f411 | |
白了个白 | 129f875469 | |
白了个白 | 2c6da76cf7 | |
ekooo | 499e428138 | |
朱浩 | 81f873bcc3 | |
lyc | c58322ca0b | |
lyc | 08dad41e4d | |
zhengdegang | 675613bbee | |
zdg | 9188df0d94 | |
zdg | 4e8560b033 | |
“zouyf” | 4e835cac82 | |
朱浩 | 7303128334 | |
yangws | d047e85d03 | |
yangws | acd66c11fa | |
朱浩 | f90e2548c6 | |
yangws | c32bd6eef4 | |
yangws | 3b9877e788 | |
朱浩 | fb48984e7f | |
lyc | aaa2aef3ca | |
lyc | 5cfd5747a1 | |
lyc | 04263cd519 | |
lyc | aee945f90f | |
白了个白 | bae24601ef | |
白了个白 | 980e4d66e8 | |
lyc | 7439c9759a | |
lyc | ddd53943b8 | |
ekooo | 70ba70df45 | |
baigl | 7ae8547d41 | |
zhengdegang | c5c28b4bf5 | |
zdg | 67d7395c47 | |
白了个白 | 46adf4c058 | |
zdg | f615efbd88 | |
zdg | 741e7336f3 | |
朱浩 | a67f801356 | |
朱浩 | 1c89217fbf | |
朱浩 | 3a20f453c6 | |
朱浩 | dfa5c7d99b | |
lyc | e144fbe36a | |
lyc | b279d36c89 | |
lyc | 8013b1c2cc | |
baigl | 610aac6985 | |
白了个白 | 6c85654608 | |
白了个白 | a5b6cd3516 | |
lyc | 01718f573b | |
lyc | ec9c673b5a | |
白了个白 | 578fc9feba | |
白了个白 | f49cba5e36 | |
lyc | a92176174a | |
lyc | 8063783284 | |
lyc | eadc6f1440 | |
lyc | 8753951796 | |
白了个白 | 490add5467 | |
白了个白 | 634ae460f3 | |
白了个白 | 1cc7007852 | |
朱浩 | 502cf13168 | |
朱浩 | a4fa5be295 | |
yangws | e907a1c07a | |
yangws | 1afaed082a | |
lyc | 69362a6153 | |
lyc | 1da3ca0ee0 | |
lyc | d4a6f74cfc | |
zouyf | f57c67aab2 | |
“zouyf” | 63ad74c77f | |
“zouyf” | d171117f03 | |
lyc | 0426b85d3f | |
lyc | 17b8ce1dda | |
zhangxuelin | 0fa3c84f5e | |
zhangxuelin | 490536654a | |
zhangxuelin | 2efb870a16 | |
yangws | 5778a8955d | |
朱浩 | e4e23e7508 | |
yangws | 6a33ea8023 | |
朱浩 | bc0579fa32 | |
yangws | 3357cf8a78 | |
yangws | 3fdf500366 | |
zhengdegang | e985417675 | |
zdg | 1978d1bac1 | |
zdg | b9014b950a | |
lyc | 03ecbb1d50 | |
lyc | ec3b978185 | |
zdg | 3632beebfa | |
zdg | f0e87338fb | |
lyc | 54266f8a37 | |
lyc | 82bed1be03 | |
lyc | 8a74f17266 | |
lyc | 40c6e1303b | |
yangws | ee196b6eb8 | |
yangws | 6c60cd4442 | |
baigl | 471d73a224 | |
白了个白 | d7761883f2 | |
baigl | d4b1e547de | |
白了个白 | b34182eb39 | |
白了个白 | 300093cf74 | |
yangws | aaf03eb60d | |
yangws | 08075746c0 | |
yangws | 8ec93353bc | |
yangws | 68df866db5 | |
朱浩 | add564c4ed | |
朱浩 | 77e76fcf7d | |
朱浩 | 0268f1af36 | |
朱浩 | 278dfd4d93 | |
lyc | db6ebbdbaf | |
lyc | e2017c3553 | |
lyc | 0be3d131e2 | |
yangws | 8ec738de46 | |
yangws | 076a510109 | |
zhangxuelin | ee9e5d1326 | |
zhangxuelin | 7ed7b2efd2 | |
zhangxuelin | eaf2d82ead | |
朱浩 | 786c6816ec | |
朱浩 | 1b504a1653 | |
朱浩 | 85c61ca802 | |
zhangxuelin | 7da1d97939 | |
baigl | 3603c4e0f2 | |
白了个白 | cb1c3c23fe | |
白了个白 | de1dee7380 | |
zhangxuelin | 151cdbb1a1 | |
朱浩 | a2c962e94d | |
朱浩 | 9cad353d36 | |
朱浩 | 53f43019e9 | |
baigl | 4996af57c7 | |
白了个白 | 7a4cc9eb64 | |
白了个白 | fd6aa2a56a | |
zdg | ad2e6b92db | |
白了个白 | 6be4b3526e | |
zhangxuelin | bbe4037a71 | |
白了个白 | 0b6b0c318d | |
zouyf | d896209948 | |
“zouyf” | c618ec04c7 | |
zhangxuelin | c79e7966ee | |
lyc | 3a1cf6224a | |
白了个白 | 2d89ef8de3 | |
白了个白 | 44002ae78d | |
白了个白 | 0e88eb8226 | |
白了个白 | 5bda6cfad2 | |
朱浩 | 280313e638 | |
朱浩 | ed7a8a124e | |
zouyf | 4b71008bee | |
“zouyf” | aab477999e | |
“zouyf” | d1b7101ba5 | |
白了个白 | 7cb84ffe37 | |
lyc | 47f3202444 | |
lyc | 3cd8c51aae | |
lyc | be187e1a2d | |
白了个白 | 0c506a09f2 | |
白了个白 | 04ac5dc8b5 | |
zhangxuelin | aca464fddd | |
zhangxuelin | 25d026bd13 | |
lyc | 119e07bcea | |
“zouyf” | 555960b8bd | |
“zouyf” | d709753534 | |
朱浩 | 78ac6e5ca6 | |
朱浩 | acc29b02e4 | |
zhengdegang | 12da4ac2c0 | |
zdg | 5ecba3fb62 | |
zdg | f5f33eaa63 | |
zhengdegang | 090bc5997c | |
zdg | 1c69d10263 | |
zdg | b794d55cd7 | |
zdg | 28b5a131fd | |
zdg | e740cb0c7e | |
zdg | 3a83a31970 | |
zhangxuelin | 30f7b9d5b3 | |
zhangxuelin | 37810586b7 | |
zhangxuelin | e31858a3fe | |
zdg | 3a6b78bc76 | |
zhengdegang | 10a1342b95 | |
zdg | 70e99e69ba | |
lyc | 3171c0b3f9 | |
lyc | 33e84ca006 | |
lyc | 28a815169d | |
zhengdegang | eace8b56d8 | |
zdg | e03e385dbc | |
zdg | 2aaa15230a | |
zdg | 7894214859 | |
朱浩 | fe41a63b2d | |
朱浩 | cdf12cf213 | |
yangws | 7bb8d2afeb | |
yangws | cfac2086e6 | |
朱浩 | 59ca00d6d1 | |
zdg | b6504e114f | |
lyc | 931ed531ab | |
zhengdegang | 5433e47d0b | |
zdg | eb3778dde2 | |
lyc | a6bda302af | |
zhengdegang | 411ef757e2 | |
zdg | 0201385e75 | |
zdg | ea9af1440e | |
zdg | b4c2751e8c | |
yangws | c5257b760a | |
yangws | 22239090ea | |
zdg | 1d808950b5 | |
zhengdegang | cb0d60b93e | |
zdg | d65af70a34 | |
zdg | 3f4e9c35b0 | |
zhengdegang | a133c322f3 | |
zdg | b5d41050ae | |
朱浩 | 0e5ca5eff2 | |
lyc | eb481e265b | |
zdg | fa77c6cc6b | |
lyc | ff97a2bef6 | |
lyc | 05c567d1cd | |
lyc | 1a6abfaa50 | |
zhengdegang | 2ae200cc9e | |
zdg | 177df96d69 | |
zdg | 571bfc98f7 | |
yangws | b249df2dff | |
yangws | 1871e7e565 | |
lyc | bb56c3fdab | |
lyc | df8f4fcf92 | |
lyc | d6b4ae011d | |
yangws | bf7f740aaf | |
yangws | e6a0859f87 | |
zhengdegang | 3d8dc4320d | |
zdg | 1518d9c3ae | |
lyc | 23878f5843 | |
lyc | 144da0ace9 | |
zhengdegang | 46098aa733 | |
zdg | 13e755bb9a | |
zdg | b5ce949172 | |
zdg | d033c217d6 | |
yangws | edfdf8b9ad | |
yangws | 59be0c07d1 | |
朱浩 | e985c2e7af | |
朱浩 | 0ea628d174 | |
朱浩 | d4982d47c7 | |
朱浩 | f38a14bc0b | |
朱浩 | 5f6839058a | |
朱浩 | 0ff0cd42bc | |
朱浩 | 6dfb2d4a8a | |
朱浩 | 88177d610e | |
朱浩 | 57b7d3d601 | |
白了个白 | 9ab62f180e | |
baigl | 954f43d8b3 |
|
@ -10,7 +10,10 @@ VITE_APP_BASE_API = '/dev-api'
|
||||||
VITE_APP_DOMAIN = 'file.ysaix.com'
|
VITE_APP_DOMAIN = 'file.ysaix.com'
|
||||||
|
|
||||||
VITE_APP_UPLOAD_API = 'https://file.ysaix.com:7868/prod-api'
|
VITE_APP_UPLOAD_API = 'https://file.ysaix.com:7868/prod-api'
|
||||||
|
#VITE_APP_UPLOAD_API = 'http://192.168.2.52:7863'
|
||||||
|
|
||||||
VITE_APP_RES_FILE_PATH = 'https://file.ysaix.com:7868/src/assets/textbook/booktxt/'
|
VITE_APP_RES_FILE_PATH = 'https://file.ysaix.com:7868/src/assets/textbook/booktxt/'
|
||||||
|
|
||||||
VITE_APP_BUILD_BASE_PATH = 'https://file.ysaix.com:7868/'
|
VITE_APP_BUILD_BASE_PATH = 'https://file.ysaix.com:7868/'
|
||||||
|
|
||||||
|
VITE_SHOW_DEV_TOOLS = 'true'
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
# 页面标题
|
||||||
|
VITE_APP_TITLE = AIX智慧课堂
|
||||||
|
|
||||||
|
# 生产环境配置
|
||||||
|
VITE_APP_ENV = 'production'
|
||||||
|
|
||||||
|
# AIx融合数字管理系统/生产环境
|
||||||
|
VITE_APP_BASE_API = 'https://prev.ysaix.com:7868/prod-api'
|
||||||
|
|
||||||
|
VITE_APP_DOMAIN = 'prev.ysaix.com'
|
||||||
|
|
||||||
|
VITE_APP_UPLOAD_API = 'https://prev.ysaix.com:7868/prod-api'
|
||||||
|
|
||||||
|
# 是否在打包时开启压缩,支持 gzip 和 brotli
|
||||||
|
VITE_BUILD_COMPRESS = gzip
|
||||||
|
|
||||||
|
VITE_APP_RES_FILE_PATH = 'https://prev.ysaix.com:7868/src/assets/textbook/booktxt/'
|
||||||
|
|
||||||
|
VITE_APP_BUILD_BASE_PATH = 'https://prev.ysaix.com:7868/'
|
|
@ -1,5 +1,5 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_APP_TITLE = AIx数字平台
|
VITE_APP_TITLE = 文枢课堂
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
VITE_APP_ENV = 'production'
|
VITE_APP_ENV = 'production'
|
||||||
|
@ -17,3 +17,5 @@ VITE_BUILD_COMPRESS = gzip
|
||||||
VITE_APP_RES_FILE_PATH = 'https://prev.ysaix.com:7868/src/assets/textbook/booktxt/'
|
VITE_APP_RES_FILE_PATH = 'https://prev.ysaix.com:7868/src/assets/textbook/booktxt/'
|
||||||
|
|
||||||
VITE_APP_BUILD_BASE_PATH = 'https://prev.ysaix.com:7868/'
|
VITE_APP_BUILD_BASE_PATH = 'https://prev.ysaix.com:7868/'
|
||||||
|
|
||||||
|
VITE_SHOW_DEV_TOOLS = 'false'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# 页面标题
|
# 页面标题
|
||||||
VITE_APP_TITLE = AIx数字平台
|
VITE_APP_TITLE = AIx数字平台(测试版)
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
VITE_APP_ENV = 'production'
|
VITE_APP_ENV = 'production'
|
||||||
|
|
|
@ -10,6 +10,7 @@ module.exports = {
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
'vue/require-default-prop': 'off',
|
'vue/require-default-prop': 'off',
|
||||||
'vue/multi-word-component-names': 'off'
|
'vue/multi-word-component-names': 'off',
|
||||||
|
'prettier/prettier': 'off'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,54 @@
|
||||||
|
appId: com.electron.app
|
||||||
|
productName: AIx
|
||||||
|
directories:
|
||||||
|
output: dist
|
||||||
|
buildResources: build
|
||||||
|
win:
|
||||||
|
executableName: AIx
|
||||||
|
icon: resources/logo2.ico
|
||||||
|
files:
|
||||||
|
- '!**/.vscode/*'
|
||||||
|
- '!src/*'
|
||||||
|
- '!electron.vite.config.{js,ts,mjs,cjs}'
|
||||||
|
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
||||||
|
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
||||||
|
asarUnpack:
|
||||||
|
- resources/**
|
||||||
|
nsis:
|
||||||
|
oneClick: false
|
||||||
|
allowToChangeInstallationDirectory: true
|
||||||
|
artifactName: ${name}-${version}-setup.${ext}
|
||||||
|
shortcutName: ${productName}
|
||||||
|
uninstallDisplayName: ${productName}
|
||||||
|
createDesktopShortcut: always
|
||||||
|
mac:
|
||||||
|
entitlementsInherit: build/entitlements.mac.plist
|
||||||
|
extendInfo:
|
||||||
|
- NSCameraUsageDescription: Application requests access to the device's camera.
|
||||||
|
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
||||||
|
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
|
||||||
|
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
|
||||||
|
notarize: false
|
||||||
|
dmg:
|
||||||
|
artifactName: ${name}-${version}.${ext}
|
||||||
|
linux:
|
||||||
|
target:
|
||||||
|
- AppImage
|
||||||
|
- snap
|
||||||
|
- deb
|
||||||
|
maintainer: electronjs.org
|
||||||
|
category: Utility
|
||||||
|
appImage:
|
||||||
|
artifactName: ${name}-${version}.${ext}
|
||||||
|
npmRebuild: false
|
||||||
|
publish:
|
||||||
|
provider: generic
|
||||||
|
url: https://prev.ysaix.com:7868/src/assets/smarttalk/
|
||||||
|
electronDownload:
|
||||||
|
mirror: https://npmmirror.com/mirrors/electron/
|
||||||
|
# 额外依赖打包到输出目录
|
||||||
|
extraFiles:
|
||||||
|
- from: ./node_modules/im_electron_sdk/lib/
|
||||||
|
to: ./resources
|
||||||
|
filter:
|
||||||
|
- '**/*'
|
|
@ -1,10 +1,10 @@
|
||||||
appId: com.electron.app
|
appId: com.electron.app
|
||||||
productName: AIx
|
productName: 文枢课堂
|
||||||
directories:
|
directories:
|
||||||
output: dist
|
output: dist
|
||||||
buildResources: build
|
buildResources: build
|
||||||
win:
|
win:
|
||||||
executableName: AIx
|
executableName: 文枢课堂
|
||||||
icon: resources/logo2.ico
|
icon: resources/logo2.ico
|
||||||
files:
|
files:
|
||||||
- '!**/.vscode/*'
|
- '!**/.vscode/*'
|
||||||
|
|
|
@ -13,15 +13,10 @@ asarUnpack:
|
||||||
win:
|
win:
|
||||||
executableName: AIx
|
executableName: AIx
|
||||||
icon: resources/logo2.ico
|
icon: resources/logo2.ico
|
||||||
extraFiles:
|
|
||||||
- from: ./node_modules/im_electron_sdk/lib/
|
|
||||||
to: ./resources
|
|
||||||
filter:
|
|
||||||
- '**/*'
|
|
||||||
nsis:
|
nsis:
|
||||||
oneClick: false
|
oneClick: false
|
||||||
allowToChangeInstallationDirectory: true
|
allowToChangeInstallationDirectory: true
|
||||||
artifactName: ${name}-${version}-setup.${ext}
|
artifactName: ${name}-${version}-test.${ext}
|
||||||
shortcutName: ${productName}
|
shortcutName: ${productName}
|
||||||
uninstallDisplayName: ${productName}
|
uninstallDisplayName: ${productName}
|
||||||
createDesktopShortcut: always
|
createDesktopShortcut: always
|
||||||
|
@ -50,3 +45,9 @@ publish:
|
||||||
url: https://file.ysaix.com:7868/src/assets/smarttalk/
|
url: https://file.ysaix.com:7868/src/assets/smarttalk/
|
||||||
electronDownload:
|
electronDownload:
|
||||||
mirror: https://npmmirror.com/mirrors/electron/
|
mirror: https://npmmirror.com/mirrors/electron/
|
||||||
|
# 额外依赖打包到输出目录
|
||||||
|
extraFiles:
|
||||||
|
- from: ./node_modules/im_electron_sdk/lib/
|
||||||
|
to: ./resources
|
||||||
|
filter:
|
||||||
|
- '**/*'
|
||||||
|
|
|
@ -3,7 +3,14 @@ import path from 'path'
|
||||||
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
|
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
import WindiCSS from "vite-plugin-windicss"
|
import WindiCSS from "vite-plugin-windicss"
|
||||||
|
/*import electron from 'vite-plugin-electron'
|
||||||
|
plugins: [electron({
|
||||||
|
main: {
|
||||||
|
builderOptions: {
|
||||||
|
asar: false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})],*/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
main: {
|
main: {
|
||||||
plugins: [externalizeDepsPlugin()]
|
plugins: [externalizeDepsPlugin()]
|
||||||
|
@ -25,10 +32,22 @@ export default defineConfig({
|
||||||
proxy: {
|
proxy: {
|
||||||
'/dev-api': {
|
'/dev-api': {
|
||||||
target: 'http://27.128.240.72:7865',
|
target: 'http://27.128.240.72:7865',
|
||||||
|
// target: 'http://36.134.181.164:7863',
|
||||||
// target: 'http://192.168.2.52:7863',
|
// target: 'http://192.168.2.52:7863',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||||
}
|
},
|
||||||
|
'/baidubce': {
|
||||||
|
target: 'https://aip.baidubce.com',
|
||||||
|
ws: true,
|
||||||
|
changeOrigin: true,
|
||||||
|
rewrite: (p) => p.replace(/^\/baidubce/, '')
|
||||||
|
},
|
||||||
|
'/parth': {
|
||||||
|
target: 'https://zwapi.xfyun.cn', // 第三方API的地址
|
||||||
|
changeOrigin: true, // 改变请求的起源
|
||||||
|
rewrite: (path) => path.replace(/^\/parth/, '') // 重写路径
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [vue(), WindiCSS()],
|
plugins: [vue(), WindiCSS()],
|
||||||
|
|
47
package.json
47
package.json
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "aix-win",
|
"name": "aix-win",
|
||||||
"version": "1.1.1",
|
"version": "2.1.28",
|
||||||
"description": "An Electron application with Vue",
|
"description": "",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
"author": "example.com",
|
"author": "上海交大重庆人工智能研究院",
|
||||||
"homepage": "https://electron-vite.org",
|
"homepage": "https://electron-vite.org",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
|
@ -16,7 +16,8 @@
|
||||||
"build:dev": "npm run build && electron-builder --win --config ./electron-builder-test.yml",
|
"build:dev": "npm run build && electron-builder --win --config ./electron-builder-test.yml",
|
||||||
"build:test": "electron-vite build --mode test && electron-builder --win --config ./electron-builder.yml",
|
"build:test": "electron-vite build --mode test && electron-builder --win --config ./electron-builder.yml",
|
||||||
"build:prod": "electron-vite build --mode production && electron-builder --win --config ./electron-builder-prod.yml",
|
"build:prod": "electron-vite build --mode production && electron-builder --win --config ./electron-builder-prod.yml",
|
||||||
"build:mac": "npm run build && electron-builder --mac",
|
"build:lt": "electron-vite build --mode lt && electron-builder --win --config ./electron-builder-lt.yml",
|
||||||
|
"build:mac": "electron-vite build --mode production && electron-builder --mac --config ./electron-builder-prod.yml",
|
||||||
"build:linux": "npm run build && electron-builder --linux"
|
"build:linux": "npm run build && electron-builder --linux"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -25,26 +26,47 @@
|
||||||
"@electron/remote": "^2.1.2",
|
"@electron/remote": "^2.1.2",
|
||||||
"@element-plus/icons-vue": "^2.3.1",
|
"@element-plus/icons-vue": "^2.3.1",
|
||||||
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
||||||
|
"@antv/x6": "^2.18.1",
|
||||||
|
"@antv/x6-plugin-clipboard": "^2.1.6",
|
||||||
|
"@antv/x6-plugin-dnd": "^2.1.1",
|
||||||
|
"@antv/x6-plugin-export": "^2.1.6",
|
||||||
|
"@antv/x6-plugin-keyboard": "^2.2.3",
|
||||||
|
"@antv/x6-plugin-selection": "^2.2.2",
|
||||||
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
||||||
|
"@antv/x6-plugin-transform": "^2.1.8",
|
||||||
|
"@vue-office/docx": "^1.6.2",
|
||||||
|
"@vue-office/excel": "^1.7.11",
|
||||||
|
"@vue-office/pdf": "^2.0.2",
|
||||||
"@vueuse/core": "^10.11.0",
|
"@vueuse/core": "^10.11.0",
|
||||||
|
"circular-json": "^0.5.9",
|
||||||
"cropperjs": "^1.6.2",
|
"cropperjs": "^1.6.2",
|
||||||
"crypto-js": "^4.2.0",
|
"crypto-js": "^4.2.0",
|
||||||
|
"echarts": "^5.5.1",
|
||||||
"electron-dl-manager": "^3.0.0",
|
"electron-dl-manager": "^3.0.0",
|
||||||
"electron-log": "^5.1.7",
|
"electron-log": "^5.1.7",
|
||||||
|
"electron-store": "8.0.0",
|
||||||
"electron-updater": "^6.1.7",
|
"electron-updater": "^6.1.7",
|
||||||
"element-plus": "^2.7.6",
|
"element-china-area-data": "^6.1.0",
|
||||||
|
"element-plus": "^2.8.0",
|
||||||
"fabric": "^5.3.0",
|
"fabric": "^5.3.0",
|
||||||
"im_electron_sdk": "^8.0.5904",
|
"im_electron_sdk": "^8.0.5904",
|
||||||
"js-cookie": "^3.0.5",
|
"js-cookie": "^3.0.5",
|
||||||
"jsencrypt": "^3.3.2",
|
"jsencrypt": "^3.3.2",
|
||||||
"jsondiffpatch": "0.6.0",
|
"jsondiffpatch": "0.6.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
|
"node-addon-api": "^8.1.0",
|
||||||
"pdfjs-dist": "4.4.168",
|
"pdfjs-dist": "4.4.168",
|
||||||
"pinia": "^2.1.7",
|
"pinia": "^2.1.7",
|
||||||
"pinia-plugin-persistedstate": "^3.2.1",
|
"pinia-plugin-persistedstate": "^3.2.1",
|
||||||
"spark-md5": "^3.0.2",
|
"spark-md5": "^3.0.2",
|
||||||
|
"vite-plugin-electron": "^0.28.8",
|
||||||
|
"vue-qr": "^4.0.9",
|
||||||
"vue-router": "^4.4.0",
|
"vue-router": "^4.4.0",
|
||||||
"xgplayer": "^3.0.19",
|
"xgplayer": "^3.0.19",
|
||||||
"xlsx": "^0.18.5"
|
"xlsx": "^0.18.5",
|
||||||
|
"less": "^4.2.0",
|
||||||
|
"less-loader": "^7.3.0",
|
||||||
|
"whiteboard_lyc": "^0.1.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@electron-toolkit/eslint-config": "^1.0.2",
|
"@electron-toolkit/eslint-config": "^1.0.2",
|
||||||
|
@ -63,18 +85,5 @@
|
||||||
"vite-plugin-windicss": "^1.9.3",
|
"vite-plugin-windicss": "^1.9.3",
|
||||||
"vue": "^3.4.30",
|
"vue": "^3.4.30",
|
||||||
"windicss": "^3.5.6"
|
"windicss": "^3.5.6"
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"win": {
|
|
||||||
"extraFiles": [
|
|
||||||
{
|
|
||||||
"from": "./node_modules/im_electron_sdk/lib/",
|
|
||||||
"to": "./resources",
|
|
||||||
"filter": [
|
|
||||||
"**/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
105
src/main/file.js
105
src/main/file.js
|
@ -42,19 +42,23 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
|
||||||
let filePath = appRootFilePath + fileNewName
|
let filePath = appRootFilePath + fileNewName
|
||||||
let uploadId = null
|
let uploadId = null
|
||||||
let isOn = false
|
let isOn = false
|
||||||
|
let lastMTime = fs.statSync(filePath).mtime.getTime()
|
||||||
|
console.log(lastMTime)
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
getFileMD5(filePath).then((md5New) => {
|
getFileMsg(filePath).then((msg) => {
|
||||||
if (md5New !== md5) {
|
if (msg !== lastMTime) {
|
||||||
md5 = md5New
|
lastMTime = msg
|
||||||
if (uploadId) {
|
if (uploadId) {
|
||||||
clearTimeout(uploadId)
|
clearTimeout(uploadId)
|
||||||
}
|
}
|
||||||
if (isOn === false) {
|
if (isOn === false) {
|
||||||
|
console.log(fileNewName)
|
||||||
e.reply('listen-file-change-on' + fileNewName)
|
e.reply('listen-file-change-on' + fileNewName)
|
||||||
isOn = true
|
isOn = true
|
||||||
}
|
}
|
||||||
//倒数十秒提交更改,十秒之内有继续修改则重置倒数
|
//倒数十秒提交更改,十秒之内有继续修改则重置倒数
|
||||||
uploadId = setTimeout(() => {
|
uploadId = setTimeout(() => {
|
||||||
|
console.log(223)
|
||||||
//执行更新,上传文件
|
//执行更新,上传文件
|
||||||
let formData = new FormData()
|
let formData = new FormData()
|
||||||
formData.append('id', id)
|
formData.append('id', id)
|
||||||
|
@ -77,12 +81,19 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
|
||||||
console.error('Error uploading file:', err)
|
console.error('Error uploading file:', err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 20000)
|
}, 5000)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}, 10000)
|
}, 1000)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
function getFileMsg(path) {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
const stats = fs.statSync(path)
|
||||||
|
return resolve(stats.mtime.getTime())
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
function getFileMD5(path) {
|
function getFileMD5(path) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
fs.readFile(path, (err, dataFile) => {
|
fs.readFile(path, (err, dataFile) => {
|
||||||
|
@ -121,13 +132,14 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
|
||||||
e.reply('is-async-local-file-reply' + fileNewName, { isAsync: true, type: 'down' })
|
e.reply('is-async-local-file-reply' + fileNewName, { isAsync: true, type: 'down' })
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
getFileMD5(filePath).then((localMd5) => {
|
getFileMsg(filePath).then((msg) => {
|
||||||
if (localMd5 === md5) {
|
let time = new Date(lastModifyTime).getTime();
|
||||||
|
msg = parseInt(msg/1000)*1000;
|
||||||
|
if (msg == time) {
|
||||||
e.reply('is-async-local-file-reply' + fileNewName, { isAsync: false, type: '' })
|
e.reply('is-async-local-file-reply' + fileNewName, { isAsync: false, type: '' })
|
||||||
} else {
|
} else {
|
||||||
const stats = fs.statSync(filePath)
|
const stats = fs.statSync(filePath)
|
||||||
//如果线上时间大于线下时间,就需要从线上下载,否则则需要上传
|
//如果线上时间大于线下时间,就需要从线上下载,否则则需要上传
|
||||||
let time = new Date(lastModifyTime)
|
|
||||||
if (time > stats.mtime.getTime()) {
|
if (time > stats.mtime.getTime()) {
|
||||||
e.reply('is-async-local-file-reply' + fileNewName, { isAsync: true, type: 'down' })
|
e.reply('is-async-local-file-reply' + fileNewName, { isAsync: true, type: 'down' })
|
||||||
} else if (time < stats.mtime.getTime()) {
|
} else if (time < stats.mtime.getTime()) {
|
||||||
|
@ -212,7 +224,7 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
|
||||||
formData.append(key, uploadData[key])
|
formData.append(key, uploadData[key])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
formData.append('fileFlag', '教案')
|
formData.append('fileFlag', '课件')
|
||||||
uploadFileByFS({
|
uploadFileByFS({
|
||||||
url: uploadUrl,
|
url: uploadUrl,
|
||||||
path,
|
path,
|
||||||
|
@ -231,6 +243,81 @@ export default async function ({ app, shell, BrowserWindow, ipcMain }) {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
/*创建新的ppt文件*/
|
||||||
|
ipcMain.on('creat-ai-file-default', (e, { name, url, uploadData, cookie }) => {
|
||||||
|
createFolder('tempFile').then(async () => {
|
||||||
|
let lastname = decodeURIComponent(url);
|
||||||
|
name = lastname.substring(lastname.lastIndexOf("/")+1)
|
||||||
|
let path = appTempFilePath + name.replace(/[\\/:*?"<>|]/, '')
|
||||||
|
let {type,item} = await downloadFiles(url,name)
|
||||||
|
if (type==="成功") {
|
||||||
|
let fileType = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
|
||||||
|
let formData = new FormData()
|
||||||
|
for (let key in uploadData) {
|
||||||
|
if (Object.prototype.hasOwnProperty.call(uploadData, key)) {
|
||||||
|
// 检查是否是对象自身的属性
|
||||||
|
formData.append(key, uploadData[key])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
formData.append('fileFlag', '课件')
|
||||||
|
uploadFileByFS({
|
||||||
|
url: uploadUrl,
|
||||||
|
path,
|
||||||
|
name,
|
||||||
|
cookie,
|
||||||
|
fileType,
|
||||||
|
formData,
|
||||||
|
success: (response) => {
|
||||||
|
e.reply('creat-ai-file-default-reply', response.data)
|
||||||
|
console.log('File uploaded successfully:', response.data)
|
||||||
|
},
|
||||||
|
error: (err) => {
|
||||||
|
console.error('Error uploading file:', err)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}else {
|
||||||
|
e.reply('creat-ai-file-default-reply', type)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
|
function downloadFiles(url,fileName) {
|
||||||
|
console.log(url,fileName)
|
||||||
|
return new Promise((resolve, reject)=>{
|
||||||
|
const browserWindow = BrowserWindow.getFocusedWindow()
|
||||||
|
const id = manager.download({
|
||||||
|
window: browserWindow,
|
||||||
|
url: url,
|
||||||
|
saveAsFilename: fileName,
|
||||||
|
directory: appTempFilePath,
|
||||||
|
callbacks: {
|
||||||
|
onDownloadStarted: async ({ id, item, webContents }) => {
|
||||||
|
// Do something with the download id
|
||||||
|
},
|
||||||
|
onDownloadProgress: async ({ id, item, percentCompleted }) => {
|
||||||
|
// console.log(percentCompleted)
|
||||||
|
},
|
||||||
|
onDownloadCompleted: async ({ id, item }) => {
|
||||||
|
console.log('完成')
|
||||||
|
resolve({type:"成功",item})
|
||||||
|
},
|
||||||
|
onDownloadCancelled: async () => {
|
||||||
|
console.log("取消")
|
||||||
|
reject({type:"取消了下载"})
|
||||||
|
},
|
||||||
|
onDownloadInterrupted: async () => {
|
||||||
|
console.log('中断')
|
||||||
|
reject({type:"下载被中断"})
|
||||||
|
},
|
||||||
|
onError: (err, data) => {
|
||||||
|
console.log(err.toString())
|
||||||
|
reject({type:"下载出错",err})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
//获取应用文件目录
|
//获取应用文件目录
|
||||||
ipcMain.on('get-root-file-path', (e) => {
|
ipcMain.on('get-root-file-path', (e) => {
|
||||||
e.reply('get-root-file-path-reply', appRootFilePath)
|
e.reply('get-root-file-path-reply', appRootFilePath)
|
||||||
|
|
|
@ -3,18 +3,45 @@ import { join } from 'path'
|
||||||
import { electronApp, optimizer, is } from '@electron-toolkit/utils'
|
import { electronApp, optimizer, is } from '@electron-toolkit/utils'
|
||||||
import icon from '../../resources/icon.png?asset'
|
import icon from '../../resources/icon.png?asset'
|
||||||
import File from './file'
|
import File from './file'
|
||||||
|
import Logger from './logger' // 日志封装
|
||||||
import chat from './chat' // chat封装
|
import chat from './chat' // chat封装
|
||||||
|
import Store from './store' // Store封装
|
||||||
|
import updateInit from './update'
|
||||||
// 代理 electron/remote
|
// 代理 electron/remote
|
||||||
// 第一步:引入remote
|
// 第一步:引入remote
|
||||||
import remote from '@electron/remote/main'
|
import remote from '@electron/remote/main'
|
||||||
// 第二步: 初始化remote
|
// 第二步: 初始化remote
|
||||||
remote.initialize()
|
remote.initialize()
|
||||||
import updateInit from './update'
|
// 日志配置-初始化(日志直接绑定到console上)
|
||||||
|
if(!is.dev) Logger.initialize()
|
||||||
|
// 持久化数据-初始化
|
||||||
|
Store.initialize()
|
||||||
|
|
||||||
File({ app, shell, BrowserWindow, ipcMain })
|
File({ app, shell, BrowserWindow, ipcMain })
|
||||||
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'
|
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true'
|
||||||
let mainWindow, loginWindow
|
let mainWindow, loginWindow
|
||||||
|
|
||||||
|
const additionalData = {myKey:'ys_axi_smarttalk'}
|
||||||
|
const gotTheLock = app.requestSingleInstanceLock(additionalData)
|
||||||
|
|
||||||
|
if(!gotTheLock){
|
||||||
|
app.quit()
|
||||||
|
}else{
|
||||||
|
app.on('second-instance',(event,commandLine,workingDirectory,additionalData)=>{
|
||||||
|
//输入从第二个实例中接收到的数据
|
||||||
|
console.log(additionalData)
|
||||||
|
//有人试图运行第二个实例,我们应该关注我们的窗口
|
||||||
|
if(mainWindow){
|
||||||
|
if(mainWindow.isMinimized()) mainWindow.restore()
|
||||||
|
mainWindow.focus()
|
||||||
|
}
|
||||||
|
if(loginWindow){
|
||||||
|
if(loginWindow.isMinimized()) loginWindow.restore()
|
||||||
|
loginWindow.focus()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
//登录窗口
|
//登录窗口
|
||||||
function createLoginWindow() {
|
function createLoginWindow() {
|
||||||
if (loginWindow) return
|
if (loginWindow) return
|
||||||
|
@ -46,8 +73,7 @@ function createLoginWindow() {
|
||||||
loginWindow.loadFile(join(__dirname, '../renderer/index.html'), { hash: 'login' })
|
loginWindow.loadFile(join(__dirname, '../renderer/index.html'), { hash: 'login' })
|
||||||
updateInit(loginWindow)
|
updateInit(loginWindow)
|
||||||
}
|
}
|
||||||
|
if (import.meta.env.VITE_SHOW_DEV_TOOLS === 'true') loginWindow.webContents.openDevTools()
|
||||||
// loginWindow.webContents.openDevTools()
|
|
||||||
loginWindow.once('ready-to-show', () => {
|
loginWindow.once('ready-to-show', () => {
|
||||||
loginWindow.show()
|
loginWindow.show()
|
||||||
})
|
})
|
||||||
|
@ -61,9 +87,10 @@ function createLoginWindow() {
|
||||||
//主窗口
|
//主窗口
|
||||||
function createMainWindow() {
|
function createMainWindow() {
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
width: 1200,
|
width: 1350,
|
||||||
minWidth: 1200,
|
minWidth: 1200,
|
||||||
height: 700,
|
height: 700,
|
||||||
|
minHeight: 700,
|
||||||
show: false,
|
show: false,
|
||||||
frame: false, // 无边框
|
frame: false, // 无边框
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
|
@ -91,19 +118,26 @@ function createMainWindow() {
|
||||||
}, 1000)
|
}, 1000)
|
||||||
// app.quit() // 主窗口关闭-结束所有进程
|
// app.quit() // 主窗口关闭-结束所有进程
|
||||||
})
|
})
|
||||||
|
mainWindow.on('resize', () => {
|
||||||
|
const { width, height } = mainWindow.getBounds();
|
||||||
|
mainWindow.webContents.send('minWinResize', { width, height });
|
||||||
|
});
|
||||||
|
|
||||||
mainWindow.webContents.setWindowOpenHandler((details) => {
|
mainWindow.webContents.setWindowOpenHandler((details) => {
|
||||||
shell.openExternal(details.url)
|
shell.openExternal(details.url)
|
||||||
return { action: 'deny' }
|
return { action: 'deny' }
|
||||||
})
|
})
|
||||||
mainWindow.webContents.openDevTools()
|
if (import.meta.env.VITE_SHOW_DEV_TOOLS === 'true') mainWindow.webContents.openDevTools()
|
||||||
|
|
||||||
if (is.dev && process.env['ELECTRON_RENDERER_URL']) {
|
if (is.dev && process.env['ELECTRON_RENDERER_URL']) {
|
||||||
mainWindow.loadURL(process.env['ELECTRON_RENDERER_URL'])
|
mainWindow.loadURL(process.env['ELECTRON_RENDERER_URL'])
|
||||||
} else {
|
} else {
|
||||||
mainWindow.loadFile(join(__dirname, '../renderer/index.html'))
|
mainWindow.loadFile(join(__dirname, '../renderer/index.html'))
|
||||||
}
|
}
|
||||||
|
|
||||||
// mainWindow.setAlwaysOnTop(true, "screen-saver") // 将窗口设置为顶层窗口
|
// mainWindow.setAlwaysOnTop(true, "screen-saver") // 将窗口设置为顶层窗口
|
||||||
// mainWindow.setVisibleOnAllWorkspaces(true) // 如果窗口在所有工作区都可见
|
// mainWindow.setVisibleOnAllWorkspaces(true) // 如果窗口在所有工作区都可见
|
||||||
|
mainWindow.maximize();
|
||||||
// 第三步: 开启remote服务
|
// 第三步: 开启remote服务
|
||||||
remote.enable(mainWindow.webContents)
|
remote.enable(mainWindow.webContents)
|
||||||
}
|
}
|
||||||
|
@ -127,7 +161,7 @@ async function createLinkWin(data) {
|
||||||
contextIsolation: true
|
contextIsolation: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
linkWin[data.key].type = 'link' // 唯一标识
|
linkWin[data.key].type = 'link'+data.key // 唯一标识
|
||||||
|
|
||||||
let cookieDetails = { ...data.cookieData }
|
let cookieDetails = { ...data.cookieData }
|
||||||
await linkWin[data.key].webContents.session.cookies
|
await linkWin[data.key].webContents.session.cookies
|
||||||
|
@ -135,7 +169,13 @@ async function createLinkWin(data) {
|
||||||
.then(() => {})
|
.then(() => {})
|
||||||
.catch((error) => {})
|
.catch((error) => {})
|
||||||
data.fullPath = data.fullPath.replaceAll('//', '/')
|
data.fullPath = data.fullPath.replaceAll('//', '/')
|
||||||
|
if (data.fullPath.indexOf('?') !== -1) {
|
||||||
|
data.fullPath += '&urlSource=smarttalk&t' + Date.now()
|
||||||
|
}else {
|
||||||
|
data.fullPath += '?urlSource=smarttalk&t' + Date.now()
|
||||||
|
}
|
||||||
linkWin[data.key].loadURL(data.fullPath)
|
linkWin[data.key].loadURL(data.fullPath)
|
||||||
|
if (import.meta.env.VITE_SHOW_DEV_TOOLS === 'true') linkWin[data.key].webContents.openDevTools()
|
||||||
|
|
||||||
linkWin[data.key].once('ready-to-show', () => {
|
linkWin[data.key].once('ready-to-show', () => {
|
||||||
linkWin[data.key].show()
|
linkWin[data.key].show()
|
||||||
|
@ -149,6 +189,7 @@ async function createLinkWin(data) {
|
||||||
|
|
||||||
// 初始化完成
|
// 初始化完成
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
|
appWatchError() // 监听app错误
|
||||||
process.env.LANG = 'en_US.UTF-8'
|
process.env.LANG = 'en_US.UTF-8'
|
||||||
// 设置应用程序用户模型标识符
|
// 设置应用程序用户模型标识符
|
||||||
electronApp.setAppUserModelId('com.electron')
|
electronApp.setAppUserModelId('com.electron')
|
||||||
|
@ -231,15 +272,17 @@ app.on('window-all-closed', () => {
|
||||||
function handleAll() {
|
function handleAll() {
|
||||||
const chatInstance = chat.initialize() // im-chat 实例
|
const chatInstance = chat.initialize() // im-chat 实例
|
||||||
// 新窗口创建-监听
|
// 新窗口创建-监听
|
||||||
ipcMain.on('new-window', (e, data) => {
|
ipcMain.handle('new-window', (e, data) => {
|
||||||
const { id, type } = data
|
const { id, type } = data
|
||||||
const win = BrowserWindow.fromId(id)
|
const win = BrowserWindow.fromId(id)
|
||||||
win.type = type // 绑定独立标识
|
win.type = type // 绑定独立标识
|
||||||
remote.enable(win.webContents) // 开启远程服务
|
remote.enable(win.webContents) // 开启远程服务
|
||||||
chatInstance.enable(win.webContents) // 开启im-chat
|
chatInstance.enable(win.webContents) // 开启im-chat
|
||||||
|
console.log(`主进程 [${type}]: 窗口注册-远程代理-完毕(${Date.now()})`)
|
||||||
})
|
})
|
||||||
// 用于监听-状态管理变化-同步所有窗口
|
// 用于监听-状态管理变化-同步所有窗口
|
||||||
ipcMain.handle('pinia-state-change', (e, storeName, jsonStr) => {
|
ipcMain.handle('pinia-state-change', (e, storeName, jsonStr) => {
|
||||||
|
|
||||||
for(const curWin of BrowserWindow.getAllWindows()){
|
for(const curWin of BrowserWindow.getAllWindows()){
|
||||||
const id = curWin.webContents.id
|
const id = curWin.webContents.id
|
||||||
const bool = id !== e.sender.id && !curWin.isDestroyed()
|
const bool = id !== e.sender.id && !curWin.isDestroyed()
|
||||||
|
@ -255,3 +298,34 @@ function handleAll() {
|
||||||
win.webContents.send('pinia-state-set', storeName, jsonStr)
|
win.webContents.send('pinia-state-set', storeName, jsonStr)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// app 崩溃监听器
|
||||||
|
function appWatchError() {
|
||||||
|
// 渲染进程崩溃
|
||||||
|
app.on('renderer-process-crashed', (event, webContents, killed) => {
|
||||||
|
console.error(
|
||||||
|
`APP-ERROR:renderer-process-crashed; event: ${JSON.stringify(event)}; webContents:${JSON.stringify(
|
||||||
|
webContents
|
||||||
|
)}; killed:${JSON.stringify(killed)}`
|
||||||
|
)
|
||||||
|
})
|
||||||
|
|
||||||
|
// GPU进程崩溃
|
||||||
|
app.on('gpu-process-crashed', (event, killed) => {
|
||||||
|
console.error(`APP-ERROR:gpu-process-crashed; event: ${JSON.stringify(event)}; killed: ${JSON.stringify(killed)}`)
|
||||||
|
})
|
||||||
|
|
||||||
|
// 渲染进程结束
|
||||||
|
app.on('render-process-gone', async (event, webContents, details) => {
|
||||||
|
console.error(
|
||||||
|
`APP-ERROR:render-process-gone; event: ${JSON.stringify(event)}; webContents:${JSON.stringify(
|
||||||
|
webContents
|
||||||
|
)}; details:${JSON.stringify(details)}`
|
||||||
|
)
|
||||||
|
})
|
||||||
|
|
||||||
|
// 子进程结束
|
||||||
|
app.on('child-process-gone', async (event, details) => {
|
||||||
|
console.error(`APP-ERROR:child-process-gone; event: ${JSON.stringify(event)}; details:${JSON.stringify(details)}`)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,52 @@
|
||||||
|
/**
|
||||||
|
* @description 日志配置
|
||||||
|
* @author zdg
|
||||||
|
* @date 2021-07-05 14:07:01
|
||||||
|
*/
|
||||||
|
// import log from 'electron-log'
|
||||||
|
import log from 'electron-log/main'
|
||||||
|
import { app } from 'electron'
|
||||||
|
import path from 'path'
|
||||||
|
|
||||||
|
// 关闭控制台打印
|
||||||
|
// 日志控制台等级,默认值:false
|
||||||
|
log.transports.console.level = false
|
||||||
|
// log.transports.console.level = 'info'
|
||||||
|
// 日志文件等级,默认值:false
|
||||||
|
log.transports.file.level = 'info'
|
||||||
|
// 日志文件名,默认:main.log
|
||||||
|
// log.transports.file.fileName = 'main.log';
|
||||||
|
// 日志大小,默认:1048576(1M),达到最大上限后,备份文件并重命名为:main.old.log,有且仅有一个备份文件
|
||||||
|
log.transports.file.maxSize = 10 * 1024 * 1024; // 文件最大不超过 10M
|
||||||
|
// 自定义日志文件滚动策略
|
||||||
|
log.transports.file.rollSize = 10 * 1024 * 1024; // 10MB
|
||||||
|
// 日志格式,默认:[{y}-{m}-{d} {h}:{i}:{s}.{ms}] [{level}]{scope} {text}
|
||||||
|
log.transports.file.format = '[{y}-{m}-{d} {h}:{i}:{s}.{ms}] [{level}]{scope} {text}'
|
||||||
|
let date = new Date()
|
||||||
|
let dateStr = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
|
||||||
|
// 文件位置及命名方式
|
||||||
|
// 默认位置为:C:\Users\[user]\AppData\Roaming\[appname]\electron_log\
|
||||||
|
// 文件名为:年-月-日.log
|
||||||
|
// 自定义文件保存位置为安装目录下 \log\年-月-日.log
|
||||||
|
// log.transports.file.resolvePathFn = () => 'logs\\' + dateStr+ '.log';
|
||||||
|
log.transports.file.resolvePathFn = () => path.join(app.getPath('userData'), `logs/${dateStr}.log`)
|
||||||
|
|
||||||
|
// 有六个日志级别error, warn, info, verbose, debug, silly。默认是silly
|
||||||
|
export const logger = {
|
||||||
|
error: (...args) => log.error(...args),
|
||||||
|
warn: (...args) => log.warn(...args),
|
||||||
|
info: (...args) => log.info(...args),
|
||||||
|
verbose: (...args) => log.verbose(...args),
|
||||||
|
debug: (...args) => log.debug(...args),
|
||||||
|
silly: (...args) => log.silly(...args)
|
||||||
|
}
|
||||||
|
export function initialize(bool = true, type = 'all') {
|
||||||
|
log.initialize() // 为渲染器进行初始化
|
||||||
|
if (bool) { // 是否替换默认的console
|
||||||
|
if (type == 'all') Object.assign(console, log.functions)
|
||||||
|
else { // 替换指定类型
|
||||||
|
console[type] = log[type]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export default { initialize }
|
|
@ -0,0 +1,70 @@
|
||||||
|
/**
|
||||||
|
* @description 解决 主进程|渲染进程 数据共享
|
||||||
|
*/
|
||||||
|
import Store from 'electron-store' // 持久化存储
|
||||||
|
|
||||||
|
// 设置ipc与渲染器通信
|
||||||
|
Store.initRenderer()
|
||||||
|
|
||||||
|
// 默认共享数据
|
||||||
|
const defaultData = {
|
||||||
|
session: { // 缓存(临时sessionStorage)
|
||||||
|
model: 'select', // 悬浮球-当前模式
|
||||||
|
showBoardAll: false, // 全屏画板-是否显示
|
||||||
|
isPdfWin: false, // pdf窗口是否打开
|
||||||
|
isToolWin: false, // 工具窗口是否打开
|
||||||
|
isTaskWin: false, // 批改窗口是否打开
|
||||||
|
curSubjectNode: {
|
||||||
|
querySearch: {} // 查询资源所需参数
|
||||||
|
},
|
||||||
|
subject: { // 不走同步 Pinia
|
||||||
|
bookList: null, // 教材列表
|
||||||
|
curBook: null, // 当前选中的教材
|
||||||
|
curNode: null, // 当前选中的节点
|
||||||
|
defaultExpandedKeys: [], //展开的节点
|
||||||
|
subjectTree: [] // "树结构" 章节
|
||||||
|
},
|
||||||
|
env: {}, // 不走同步 Pinia - 变量
|
||||||
|
curr: {} // 不走同步 Pinia - 当前信息
|
||||||
|
},
|
||||||
|
local: { // 本地(永久localStorage)
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
// 初始化
|
||||||
|
export function initialize(){
|
||||||
|
// 缓存数据-sessionStore
|
||||||
|
const sessionStore = new Store({
|
||||||
|
name: 'session-store', // 存储文件名
|
||||||
|
fileExtension: 'ini', // 文件后缀名
|
||||||
|
encryptionKey: 'BvPLmgCC4DSIG0KkTec5', // 数据加密-防止用户直接改配置
|
||||||
|
beforeEachMigration: (store, context) => { // 版本迁移回调
|
||||||
|
console.log(`[session-store] 迁移从 ${context.fromVersion} → ${context.toVersion}`);
|
||||||
|
},
|
||||||
|
migrations: { // 版本变化
|
||||||
|
'0.0.0': store => {
|
||||||
|
// store.set('debugPhase', true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
sessionStore.clear() // 先清除-所有缓存数据
|
||||||
|
sessionStore.set(defaultData.session) // 初始化-默认数据
|
||||||
|
|
||||||
|
// 缓存数据-localStore
|
||||||
|
const localStore = new Store({
|
||||||
|
name: 'local-store', // 存储文件名
|
||||||
|
fileExtension: 'ini', // 文件后缀名
|
||||||
|
encryptionKey: '6CyoHQmUaPmLzvVsh', // 数据加密-防止用户直接改配置
|
||||||
|
beforeEachMigration: (store, context) => { // 版本迁移回调
|
||||||
|
console.log(`[local-store] 迁移从 ${context.fromVersion} → ${context.toVersion}`);
|
||||||
|
},
|
||||||
|
migrations: { // 版本变化
|
||||||
|
'0.0.0': store => {
|
||||||
|
// store.set('debugPhase', true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
localStore.set(defaultData.local) // 初始化-默认数据
|
||||||
|
return {sessionStore, localStore}
|
||||||
|
}
|
||||||
|
export default { initialize }
|
|
@ -2,7 +2,7 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>AIx智慧教育</title>
|
<title>%VITE_APP_TITLE%</title>
|
||||||
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
|
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
|
||||||
<!-- <meta
|
<!-- <meta
|
||||||
http-equiv="Content-Security-Policy"
|
http-equiv="Content-Security-Policy"
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
|
@ -0,0 +1,177 @@
|
||||||
|
|
||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
||||||
|
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||||
|
All rights reserved.
|
||||||
|
See ./LICENSEáCNS2-H
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,3 @@
|
||||||
|
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||||
|
All rights reserved.
|
||||||
|
See ./LICENSEá ETen-B5-H` ^
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,4 @@
|
||||||
|
àRCopyright 1990-2009 Adobe Systems Incorporated.
|
||||||
|
All rights reserved.
|
||||||
|
See ./LICENSE!!<21>º]aX!!]`<60>21<32>> <09>p<0B>z<EFBFBD>$]‚<06>"R‚d<E2809A>-Uƒ7<C692>*„
4„%<25>+ „Z „{<7B>/…%…<<3C>9K…b<E280A6>1]†.<2E>"‡‰`]‡,<2C>"]ˆ
|
||||||
|
<EFBFBD>"]ˆh<CB86>"]‰F<E280B0>"]Š$<24>"]‹<02>"]‹`<60>"]Œ><3E>"]<5D><1C>"]<5D>z<EFBFBD>"]ŽX<C5BD>"]<5D>6<EFBFBD>"]<5D><14>"]<5D>r<EFBFBD>"]‘P<E28098>"]’.<2E>"]“<0C>"]“j<E2809C>"]”H<E2809D>"]•&<26>"]–<04>"]–b<E28093>"]—@<40>"]˜<1E>"]˜|<7C>"]™Z<E284A2>"]š8<C5A1>"]›<16>"]›t<E280BA>"]œR<C593>"]<5D>0<EFBFBD>"]ž<0E>"]žl<C5BE>"]ŸJ<C5B8>"] (<28>"]¡<06>"]¡d<C2A1>"]¢B<C2A2>"]£ <20>"X£~<7E>']¤W<C2A4>"]¥5<C2A5>"]¦<13>"]¦q<C2A6>"]§O<C2A7>"]¨-<2D>"]©<0B>"]©i<C2A9>"]ªG<C2AA>"]«%<25>"]¬<03>"]¬a<C2AC>"]?<3F>"]®<1D>"]®{<7B>"]¯Y<C2AF>"]°7<C2B0>"]±<15>"]±s<C2B1>"]²Q<C2B2>"]³/<2F>"]´
<0A>"]´k<C2B4>"]µI<C2B5>"]¶'<27>"]·<05>"]·c<C2B7>"]¸A<C2B8>"]¹<1F>"]¹}<7D>"]º[<5B>"]»9
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue