From 6e2cea8186b48c1e5c81ca7ce50c7e9b9db8ee8d Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 8 Nov 2024 18:12:02 +0800 Subject: [PATCH] update --- Web/html/body/user.html | 206 ++++++------------ Web/js/chimee.browser.min.js | 8 + lib/aopalliance-1.0.jar | Bin 4467 -> 0 bytes lib/commons-logging-1.2.jar | Bin 61829 -> 0 bytes lib/spring-aop-5.2.3.RELEASE.jar | Bin 372716 -> 0 bytes lib/spring-aspects-5.2.3.RELEASE.jar | Bin 47266 -> 0 bytes lib/spring-beans-5.2.3.RELEASE.jar | Bin 684706 -> 0 bytes lib/spring-context-5.2.3.RELEASE.jar | Bin 1221408 -> 0 bytes lib/spring-context-support-5.2.3.RELEASE.jar | Bin 182130 -> 0 bytes lib/spring-core-5.2.3.RELEASE.jar | Bin 1434206 -> 0 bytes lib/spring-expression-5.2.3.RELEASE.jar | Bin 282010 -> 0 bytes lib/spring-instrument-5.2.3.RELEASE.jar | Bin 7366 -> 0 bytes lib/spring-jdbc-5.2.3.RELEASE.jar | Bin 406693 -> 0 bytes lib/spring-jms-5.2.3.RELEASE.jar | Bin 261822 -> 0 bytes lib/spring-messaging-5.2.3.RELEASE.jar | Bin 542524 -> 0 bytes lib/spring-orm-5.2.3.RELEASE.jar | Bin 200874 -> 0 bytes lib/spring-oxm-5.2.3.RELEASE.jar | Bin 63969 -> 0 bytes lib/spring-test-5.2.3.RELEASE.jar | Bin 679226 -> 0 bytes lib/spring-tx-5.2.3.RELEASE.jar | Bin 314314 -> 0 bytes lib/spring-web-5.2.3.RELEASE.jar | Bin 1428664 -> 0 bytes lib/spring-webmvc-5.2.3.RELEASE.jar | Bin 946319 -> 0 bytes pom.xml | 5 + .../java/com/yutou/biliapi/api/LoginApi.java | 10 + .../bean/login/LoginCookieDatabaseBean.java | 2 + .../databases/BiliBiliLoginDatabase.java | 3 + .../yutou/biliapi/net/BiliCookieManager.java | 114 +++++----- .../biliapi/net/BiliLoginNetApiManager.java | 1 + .../Controllers/BiliUserController.java | 121 +++++++++- .../bilibili/services/LiveLoginService.java | 7 + src/main/java/com/yutou/common/utils/Log.java | 2 +- .../com/yutou/common/utils/WebClient.java | 116 ++++++++++ src/main/resources/application.properties | 2 +- 32 files changed, 396 insertions(+), 201 deletions(-) create mode 100644 Web/js/chimee.browser.min.js delete mode 100644 lib/aopalliance-1.0.jar delete mode 100644 lib/commons-logging-1.2.jar delete mode 100644 lib/spring-aop-5.2.3.RELEASE.jar delete mode 100644 lib/spring-aspects-5.2.3.RELEASE.jar delete mode 100644 lib/spring-beans-5.2.3.RELEASE.jar delete mode 100644 lib/spring-context-5.2.3.RELEASE.jar delete mode 100644 lib/spring-context-support-5.2.3.RELEASE.jar delete mode 100644 lib/spring-core-5.2.3.RELEASE.jar delete mode 100644 lib/spring-expression-5.2.3.RELEASE.jar delete mode 100644 lib/spring-instrument-5.2.3.RELEASE.jar delete mode 100644 lib/spring-jdbc-5.2.3.RELEASE.jar delete mode 100644 lib/spring-jms-5.2.3.RELEASE.jar delete mode 100644 lib/spring-messaging-5.2.3.RELEASE.jar delete mode 100644 lib/spring-orm-5.2.3.RELEASE.jar delete mode 100644 lib/spring-oxm-5.2.3.RELEASE.jar delete mode 100644 lib/spring-test-5.2.3.RELEASE.jar delete mode 100644 lib/spring-tx-5.2.3.RELEASE.jar delete mode 100644 lib/spring-web-5.2.3.RELEASE.jar delete mode 100644 lib/spring-webmvc-5.2.3.RELEASE.jar create mode 100644 src/main/java/com/yutou/common/utils/WebClient.java diff --git a/Web/html/body/user.html b/Web/html/body/user.html index 8652cec..05435f4 100644 --- a/Web/html/body/user.html +++ b/Web/html/body/user.html @@ -3,7 +3,7 @@ - 基础菜单 - Layui + 用户中心 @@ -12,143 +12,41 @@ -
- -
- - - - - - - - +
+ + - + + + + diff --git a/Web/js/chimee.browser.min.js b/Web/js/chimee.browser.min.js new file mode 100644 index 0000000..6463002 --- /dev/null +++ b/Web/js/chimee.browser.min.js @@ -0,0 +1,8 @@ +/** + * Minified by jsDelivr using Terser v3.14.1. + * Original file: /npm/chimee@0.12.0/lib/index.browser.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Chimee=t()}(this,function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,t){return e(t={exports:{}},t.exports),t.exports}var r=n(function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)}),i=n(function(e){var t=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=t)}),o=(i.version,function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}),a=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},u=function(e){return"object"==typeof e?null!==e:"function"==typeof e},s=function(e){if(!u(e))throw TypeError(e+" is not an object!");return e},c=function(e){try{return!!e()}catch(e){return!0}},l=!c(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),f=r.document,d=u(f)&&u(f.createElement),h=function(e){return d?f.createElement(e):{}},p=!l&&!c(function(){return 7!=Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a}),v=function(e,t){if(!u(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!u(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!u(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!u(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},y=Object.defineProperty,g={f:l?Object.defineProperty:function(e,t,n){if(s(e),t=v(t,!0),s(n),p)try{return y(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},m=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=l?function(e,t,n){return g.f(e,t,m(1,n))}:function(e,t,n){return e[t]=n,e},b={}.hasOwnProperty,_=function(e,t){return b.call(e,t)},E=function(e,t,n){var o,u,s,c=e&E.F,l=e&E.G,f=e&E.S,d=e&E.P,h=e&E.B,p=e&E.W,v=l?i:i[t]||(i[t]={}),y=v.prototype,g=l?r:f?r[t]:(r[t]||{}).prototype;for(o in l&&(n=t),n)(u=!c&&g&&void 0!==g[o])&&_(v,o)||(s=u?g[o]:n[o],v[o]=l&&"function"!=typeof g[o]?n[o]:h&&u?a(s,r):p&&g[o]==s?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(s):d&&"function"==typeof s?a(Function.call,s):s,d&&((v.virtual||(v.virtual={}))[o]=s,e&E.R&&y&&!y[o]&&w(y,o,s)))};E.F=1,E.G=2,E.S=4,E.P=8,E.B=16,E.W=32,E.U=64,E.R=128;var k=E;k(k.S+k.F*!l,"Object",{defineProperty:g.f});var x=i.Object,O=function(e,t,n){return x.defineProperty(e,t,n)},S=n(function(e){e.exports={default:O,__esModule:!0}}),P=t(S),T={}.toString,A=function(e){return T.call(e).slice(8,-1)},j=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==A(e)?e.split(""):Object(e)},L=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},M=function(e){return j(L(e))},C={f:{}.propertyIsEnumerable},N=Object.getOwnPropertyDescriptor,z={f:l?N:function(e,t){if(e=M(e),t=v(t,!0),p)try{return N(e,t)}catch(e){}if(_(e,t))return m(!C.f.call(e,t),e[t])}},F=function(e,t){var n=(i.Object||{})[e]||Object[e],r={};r[e]=t(n),k(k.S+k.F*c(function(){n(1)}),"Object",r)},I=z.f;F("getOwnPropertyDescriptor",function(){return function(e,t){return I(M(e),t)}});var R=i.Object,$=function(e,t){return R.getOwnPropertyDescriptor(e,t)},V=n(function(e){e.exports={default:$,__esModule:!0}}),D=t(V),K=function(e){return Object(L(e))},B=n(function(e){var t=r["__core-js_shared__"]||(r["__core-js_shared__"]={});(e.exports=function(e,n){return t[e]||(t[e]=void 0!==n?n:{})})("versions",[]).push({version:i.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),W=0,G=Math.random(),q=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++W+G).toString(36))},H=B("keys"),U=function(e){return H[e]||(H[e]=q(e))},Y=U("IE_PROTO"),Q=Object.prototype,Z=Object.getPrototypeOf||function(e){return e=K(e),_(e,Y)?e[Y]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Q:null};F("getPrototypeOf",function(){return function(e){return Z(K(e))}});var J,X=i.Object.getPrototypeOf,ee=n(function(e){e.exports={default:X,__esModule:!0}}),te=t(ee),ne=Math.ceil,re=Math.floor,ie=function(e){return isNaN(e=+e)?0:(e>0?re:ne)(e)},oe=w,ae={},ue=Math.min,se=function(e){return e>0?ue(ie(e),9007199254740991):0},ce=Math.max,le=Math.min,fe=(J=!1,function(e,t,n){var r,i=M(e),o=se(i.length),a=function(e,t){return(e=ie(e))<0?ce(e+t,0):le(e,t)}(n,o);if(J&&t!=t){for(;o>a;)if((r=i[a++])!=r)return!0}else for(;o>a;a++)if((J||a in i)&&i[a]===t)return J||a||0;return!J&&-1}),de=U("IE_PROTO"),he=function(e,t){var n,r=M(e),i=0,o=[];for(n in r)n!=de&&_(r,n)&&o.push(n);for(;t.length>i;)_(r,n=t[i++])&&(~fe(o,n)||o.push(n));return o},pe="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),ve=Object.keys||function(e){return he(e,pe)},ye=l?Object.defineProperties:function(e,t){s(e);for(var n,r=ve(t),i=r.length,o=0;i>o;)g.f(e,n=r[o++],t[n]);return e},ge=r.document,me=ge&&ge.documentElement,we=U("IE_PROTO"),be=function(){},_e=function(){var e,t=h("iframe"),n=pe.length;for(t.style.display="none",me.appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("