From d4c78b8d5d8dd6552202c499c5b71f0cadee1690 Mon Sep 17 00:00:00 2001 From: zcx Date: Tue, 28 May 2024 20:47:02 +0800 Subject: [PATCH] second commit --- __pycache__/__init__.cpython-312.pyc | Bin 0 -> 162 bytes __pycache__/__init__.cpython-38.pyc | Bin 0 -> 139 bytes __pycache__/admin.cpython-312.pyc | Bin 0 -> 703 bytes __pycache__/admin.cpython-38.pyc | Bin 0 -> 380 bytes __pycache__/apps.cpython-312.pyc | Bin 0 -> 466 bytes __pycache__/apps.cpython-38.pyc | Bin 0 -> 414 bytes __pycache__/handler.cpython-312.pyc | Bin 0 -> 913 bytes __pycache__/handler.cpython-38.pyc | Bin 0 -> 762 bytes __pycache__/models.cpython-312.pyc | Bin 0 -> 14926 bytes __pycache__/models.cpython-38.pyc | Bin 0 -> 8929 bytes __pycache__/serializers.cpython-312.pyc | Bin 0 -> 9096 bytes __pycache__/serializers.cpython-38.pyc | Bin 0 -> 7131 bytes __pycache__/urls.cpython-312.pyc | Bin 0 -> 12114 bytes __pycache__/urls.cpython-38.pyc | Bin 0 -> 3843 bytes __pycache__/utils.cpython-312.pyc | Bin 0 -> 3748 bytes __pycache__/utils.cpython-38.pyc | Bin 0 -> 2505 bytes auth/.DS_Store | Bin 0 -> 6148 bytes auth/MyRateThrottle.py | 5 ++ auth/__init__.py | 0 .../MyRateThrottle.cpython-312.pyc | Bin 0 -> 470 bytes .../__pycache__/MyRateThrottle.cpython-38.pyc | Bin 0 -> 424 bytes auth/__pycache__/__init__.cpython-312.pyc | Bin 0 -> 167 bytes auth/__pycache__/__init__.cpython-38.pyc | Bin 0 -> 144 bytes .../authentication.cpython-312.pyc | Bin 0 -> 2199 bytes .../__pycache__/authentication.cpython-38.pyc | Bin 0 -> 1457 bytes auth/authentication.py | 45 ++++++++++++++++++ git | 0 permission/.DS_Store | Bin 0 -> 6148 bytes permission/__init__.py | 0 .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 173 bytes .../__pycache__/__init__.cpython-38.pyc | Bin 0 -> 150 bytes .../__pycache__/permission.cpython-312.pyc | Bin 0 -> 773 bytes .../__pycache__/permission.cpython-38.pyc | Bin 0 -> 527 bytes permission/permission.py | 12 +++++ 34 files changed, 62 insertions(+) create mode 100644 __pycache__/__init__.cpython-312.pyc create mode 100644 __pycache__/__init__.cpython-38.pyc create mode 100644 __pycache__/admin.cpython-312.pyc create mode 100644 __pycache__/admin.cpython-38.pyc create mode 100644 __pycache__/apps.cpython-312.pyc create mode 100644 __pycache__/apps.cpython-38.pyc create mode 100644 __pycache__/handler.cpython-312.pyc create mode 100644 __pycache__/handler.cpython-38.pyc create mode 100644 __pycache__/models.cpython-312.pyc create mode 100644 __pycache__/models.cpython-38.pyc create mode 100644 __pycache__/serializers.cpython-312.pyc create mode 100644 __pycache__/serializers.cpython-38.pyc create mode 100644 __pycache__/urls.cpython-312.pyc create mode 100644 __pycache__/urls.cpython-38.pyc create mode 100644 __pycache__/utils.cpython-312.pyc create mode 100644 __pycache__/utils.cpython-38.pyc create mode 100644 auth/.DS_Store create mode 100644 auth/MyRateThrottle.py create mode 100644 auth/__init__.py create mode 100644 auth/__pycache__/MyRateThrottle.cpython-312.pyc create mode 100644 auth/__pycache__/MyRateThrottle.cpython-38.pyc create mode 100644 auth/__pycache__/__init__.cpython-312.pyc create mode 100644 auth/__pycache__/__init__.cpython-38.pyc create mode 100644 auth/__pycache__/authentication.cpython-312.pyc create mode 100644 auth/__pycache__/authentication.cpython-38.pyc create mode 100644 auth/authentication.py create mode 100644 git create mode 100644 permission/.DS_Store create mode 100644 permission/__init__.py create mode 100644 permission/__pycache__/__init__.cpython-312.pyc create mode 100644 permission/__pycache__/__init__.cpython-38.pyc create mode 100644 permission/__pycache__/permission.cpython-312.pyc create mode 100644 permission/__pycache__/permission.cpython-38.pyc create mode 100644 permission/permission.py diff --git a/__pycache__/__init__.cpython-312.pyc b/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a7312336f20248671eb5aada8aa58dc19cfddceb GIT binary patch literal 162 zcmX@j%ge<81lQ{W(?IlN5P=Rpvj9b=GgLBYGWxA#C}INgK7-W!a&)nZDX1*T$j^%} z&d4v&%}p#WNiD)ARGeB=29(LIOe`pfiI30B%PfhH*DI*}#bJ}1pHiBWYFESxG?5XA Qi$RQ!%#4hTMa)1J08E7{KL7v# literal 0 HcmV?d00001 diff --git a/__pycache__/__init__.cpython-38.pyc b/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f5ad7144eeb23145ca357337836cb5148da22d69 GIT binary patch literal 139 zcmWIL<>g`kf(fqaDIoeWh(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6wj#VV$tC_gJT zxuiIzpt2+*KQF#GBflV~IJKxOwJ0XHGO?f_CO$qhFS8^*Uaz3?7Kcr4eoARhsvXFr I&p^xo0J6m(S^xk5 literal 0 HcmV?d00001 diff --git a/__pycache__/admin.cpython-312.pyc b/__pycache__/admin.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6f024ab05be9bc69e0b86f7c62d872fa939835cf GIT binary patch literal 703 zcmbVJF-yZh6n<Mgn_2qmhk8%?Z6Ur9(RKG8#t$_eL}dgx2!{p`WFM3)6`iBT?41Em8Bw zUKGU5K^$eAUT}36vB`2TNt!J7Ntkk7N*pUN6qpJs5`>=8jED*+0ZlW)A7Lg{n72Ev zev)USI66;9adN;sRsBnn%UsLKVp@N(e>2JFl|woBDkN>LPOXlZUP}1V5JGRT_iX@j t&;*X&0pD4-))eY5P`~dMu>V?8oC3DX%5ed^Wu;TVPFXpbK!exhydUkXhyDNn literal 0 HcmV?d00001 diff --git a/__pycache__/admin.cpython-38.pyc b/__pycache__/admin.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5d5ad08742cda245b8fb291d56e027446b797ce4 GIT binary patch literal 380 zcmYk2K~BUV6hNUsTPK}4!CasVdjMmM$>`RNGaJ%mQVX^;1sXt;-ohj3(krobG|M{owb^}7Z-FIvc0r-l^I#5V%!?k??0}PHpLJDE@WK1NYNMed5p+u%M zl^M+-;Bd&_FF5)L@BW>v9IrfGc@~|aM^NJL&<&K(lZHv5O5%5iv9VS>i?(q>D^HHS zP@PA|rt|n@x$)USOUadcC^vM+hDLR|YPE7kJeed^qlKKCX{w}Ve6%Kh%-{$Tkw#uf#EuGi{pdp*@*fLCtnr9-{UTurmjuS2t! Sk>7;P0$T(WXrC1D@B9MK*Ip$6 literal 0 HcmV?d00001 diff --git a/__pycache__/apps.cpython-312.pyc b/__pycache__/apps.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c5431d1d7d0149cc64093003ca030648b8949a71 GIT binary patch literal 466 zcmZutJ4*vW5T3b*#5_cz2o@GL!WCXEqCzxiWx)0bEUUYhMDFG7op3fHSv zv9U88SXtQ#(I%C^p&<}nR$(nfcl(}yiSOerk=u0 zLT*y(RZN?4m!@7qsBA#oqJyEhXPBwM=7-(=ev~D{Fd$+WM!P;036K9v2_D}{rue=u zM-XBcbK+S5Z=uuP@DE5UIniK$peT;>+i{4#7hV)v9n22l5ET-LcHn&c<4*`N_+L> zD|m7yt=NJ2c7DG3W|_z7bj;8`ZZg>5`$fsVxtPq*%?Sc9-~}sr#5ucT;DC5%AQXQS zkpu1n3%qY+v4Goyd0k)WD$TPcRrZZzGD9~<2#Q4<7*6v@fD^eOP{p^g^_(xfX| znV^772L+dUpRA!v4DfS$eHPb^UaMtm;<|5Fx{_w4>)5E~MK$rTGRCzgtougb9Nozf mjJV5($|4Zf-+i5!jYIOp{a>_=e5~2g`S!;bbRR?9iTDLnEoIsO literal 0 HcmV?d00001 diff --git a/__pycache__/handler.cpython-312.pyc b/__pycache__/handler.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..199cc33d6e5985d08679930574312308cd01dfa4 GIT binary patch literal 913 zcmZuv&1(}u6o0c{*-e@jL9MnR1)+9Pd-NbhDz!=xf*%JV6ozGI(xlz&t}`3k$chyT zCI_(>sRs`pm3ru(A$YMM7zPEwQ*V`6ES{XnCQ`%)^PBhPz4x0p@6Cr|F%MEcKfYZV z(Ez?HV<2W<=}t;z3kVPtKpmA40u62e(KdkS6m9ESTv=-xuDPcS7YX|g<#7~p>Sx{z z`=QXCkoHqaN}-Ghlr^HYpn?e6aLRfM)==5F3$88-S8px+CCVLPvZY>-tGg`W1=@lX zr5Zu6v`2QTKQU81wTU((eW|^SGe_m527%NhdTPBhwyn&I zpb4&7ay4Q25urk_^Ce*rFY&Is7L#cpES`8tgNtH9>v7;E6o+1&id>a?gfcE1y5`e3 zsYRg}@}n@JVSPBL4~Q;GxhA=RZNYI4JjCw zAgq;Dk1cVblbSCajQzml9AmD+CI+(pd-mGp#kiSNqY(3I6kn`+JfZA=N1U<;(o=7G zalBadLK09m9XHuAN%-*ik+Dn$%73gz^1`7i6AZp`zIDginJ&_7brZl7g$z&$5#enJT&m zhH{KZINX3=nr+UbAE1zp4kAi&N~4VO1Xq~6d^KV#)6(pHa;83ZkLN998H)Y4J(Cr8 eg-u9PUCY(^zK#(33KxD_4w^@sQwN~-Ufv(_(B+i? literal 0 HcmV?d00001 diff --git a/__pycache__/handler.cpython-38.pyc b/__pycache__/handler.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f14423a5c5feebb385cf4d1a3fb743bca2f0bdd7 GIT binary patch literal 762 zcmYjP&2H2%5FW=#*4gd~Bnn6z5Z7FmJE~ACQ4p61fw)8~SyAl$>E_4SUdmSC)Ji=e z@c_4F}onPu$DFj>m5a8bdokGsg%W=>kE%1)o_*1*{VN zsG}Vd!4Y)qJ9L8|D8Q0SI14(~g#x-r&@L9?mzbbPFCK`Kc5U3)%34*0mAolx=>`i~2&s)r- zBMp#VhCB*ndjq78Av=KVY=HDLWEYU#4Uo+Y*#l&617slE7w+FD#tNGi`*KQ@66si# z=S(Jh`R2jDGlrE+vu4pW+a#K2En?HGRkX~4btLfoHB6%<{nxM0!hAl;Hp^xPFxBo?g>5)?)6U7w1?q5;{%$E+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+f7$V*i(*|2}>X zIR}9T@_w*zQ^rHFM`N_R-@sS+9`#N|9>4T&qA(OkW5JV(p82|hw^$V75IkcstBO?J zK#>Mz%=`a{Cy$HwDNsbJjf?=U*}6w-9?3&6N(vI^R!;%f58v#kqRC{%h~0F|u{*vo zSV`0IHpat`?!|gIeKnfn#17!mA7Ebo0>4L&<`(giV#8rioRwqz%2INa{^of(=ET-L z$Me^OqvE^xu_N1tj9E=m=ji~N@I2{yb$?5nxGtyM4v{;fUTZi{&7JMw$ikG0_G)I2$q3YF0_c_Ky&Q8`j9FRSLm3|14e~X{$<+Rs& zIgOHE#8EO4;OD`ti8#&$AIwI7M`$Yk3cvI<6ph%(h7*&*b6_LQ>Buy55Im=#?CS7O z2U+b7Zndd9WB&OYJb9e_!*rJgL~)gMmr>kc9JJHn0^P+tZOuV4=4s zFQYK#o$66h%_h4hHXdTBAm0?yMs>JHoARL!Yq&@C`L03`9~bvLlFw(9d*?h=)k+=~ zzZoHUI<$)9NlqiAv&?@Ljy`aIT6AIWxq>`+i>w+6^DQ#=FI%e34`zK~zXB!3f*H=z z<(=trfWu8~HJ5rDOB8GXdjw* zNgoF?2hmDr<>lvyu9cmAA17oh6$k6odjz4PfM5F0P#DUEvCmlETsBs&8fQ_HW-`Y5 z`Y9{hU-0$kty{-;T8qBZ^#x433r!=R4hI#NxD-t;q>hPmY?DQ?U7-IC<5P787`@7SA`iGrZL#`=uSd^>O8^!Y2yX?pFoAIYWlxXd}1-1 z&HrrbD%tzY*pJ^hv3{atLbWtywwpWGMmC;Uf1+eUwG?!laS-U;Yj0mGnNTftw43|a zrZpD&qEE&Y2*WT-E2OmX7+(aHTkXR7*qp_Z?OGsFp$wbH`fSM%Q{*$%HE1tNpX*?#lT73*+a9 G0{#bM0%Mr~ literal 0 HcmV?d00001 diff --git a/__pycache__/models.cpython-38.pyc b/__pycache__/models.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..798afda2b7655d4f3ba9b1c08e8dea60d954f39d GI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ChP^5waLwsg87w-5ic+!)UHyH|H7wnK1fH@k7jb(ub6U}a%APoSiY7}iXov}i z4VrZHbWjpf&PBgC%11F^nB`v(KTR()L(K#p=b_){E literal 0 HcmV?d00001 diff --git a/__pycache__/serializers.cpython-312.pyc b/__pycache__/serializers.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d7ec4348f63e9dfeb5bf748c3446407f5da12706 GIT binary patch literal 9096 zcmcgx-ER}w6`%39W5zlF>+&kowfOcH;^uPd&do&e$`ac%p5Vk>O5}o1Heluc%i%sa}qB6VhXYjB%uwkUkq^A4mEL*=2+5=g0sdgEq(k zj_f96$Obvckzqpi*dTXtWQ34W8{`m2_7XB?gB<3_K0@}}Aa`@*03io$kb5|C7a@mi zkb60Dn2@_|ko!1t4b#qoQ(gB6t9maM z6-6$TRnKiXTV#^zyI!2j6^N+rn@l2vkAJj+d3-z{W(ozWa7;<6XQo)rWo6ZOnXw{6 zt#?Y2m|QAlF`~`K)kv&QQ{sgn3n@_&QVxe8J0JNrLCvouzIMD4wS3CWCBfJ9D@UWu zQ*kFfYM9UNjy~g!Sk^GliE^%-mtTsir&L^ES=lh8276&WMm(EClAS4+B&OUIN7A_w zGj%X=LoR1jZ#tdH=hNvK8iFsKE@TuromRWjX{9JF&hU7}ranQUCTbnd}?rTnm1NS7WK=Z`9xQdwqJMWm}=P>oW_%+Eh)QS!umMRj3V zY!@*M(7PTa^11M)r*FyqCNlKg!$zopjS`u8>1D&n>;~Bb0)MD>-m;%uVS3l&M7C0g z(>?Z$KtyYdChtQX_vWQcS>8c)STf}5U`J?9Gwc{qvy`}u&rk(l1t);uB1HL&rCcY0 z0U1Q%BnWSTqW2)T-s`zidFP}yXu*!lEa_xNF}DdKYCw`pS(cl}hS5Qe=Lic^EVX!@ zx6#w~w)#Ev1OiERbRACj8QAI>P3CA~E%P|lG#xqLHALD!9r~`}tT>Y{b9jrU*@}~9fkV`s_6V~RKm^R40NaOD9E4jF_oy&J_Cq4DUtOqsEnK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8L9;%HAk@r(x{rNUr1%UM@z4Ag4>H7NgMI?Njzy>iB7>WKk4s>u0moaS!k$E5|4@ zG$!0owkPz#0AoB0 zY(V0Vp;UMnLLxf9E49@JwE3GJuk$1FCX!l$CJ9L03DqC$lNz!6B%jnAKg(-xLg157 zC^#i#YMj;vyXNW9x)c>Tk=YsOlYm(kk}zPF-=SCIGB@(A?eGP#M#y;9p5bX2O#A}@ zKhYRUJG7xYihX(z2lKM-$H9WE=VVMQqF!P;LQ@`TOBoTez=}v)iinUERzidf@{ zh@AjV0b9mJ{yAzdgK*j7IPn2z zfA`awg;CKHSu8_`1T4NHeTP|WSWNOAgRGuDN z3!?%jGDZh?2^jk;B;X_@j%Dlt8vhx-0LBQJ8e=dAdFVbp$`&IMCvr9mZ4z+ycSyn6 zoc(~tZ^9SA86n$^x~Sj}hJI_8V~hISW K-zsVas{IEGj`}$O literal 0 HcmV?d00001 diff --git a/__pycache__/urls.cpython-312.pyc b/__pycache__/urls.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2a80054a678e043740ac77fa8a4835fd5605e53c GIT binary patch literal 12114 zcmbW7%TpW49mgdYVX$n#*w_a2;*EGnyu=%WdDzARY_Kslu*=HQ7zBC{N!SY{+2odM zPJt6}!c-3a2lhYM%XaB7Ra2F!q*6Jga?#e__LQ0a^@tgXnRbgR4D*}Me5U)`j~P+^ z>GtiLCh1G~Vd=wKwaN5v`9S%ykY9fNvBqTjn<-=pnIopCdChE=e=mv@MT^&prQeI! zxGhtWi8qHhzIX@w6b1a;xurdpk9NxQYkx0-+F#AsW?`^ZQf(zVwyOLqckboaa@ux- z!FHc&D`l`fq}s|DY_(L|O$M8dYP0It9Qjv%#VFiju+ek7&0wSFR?c9f=T@O(a}|_Z zC4-Hg+Z_fQJ+~?b8$GwXI<|&_a=XW1qvux5V58@DpTS1Y?SYQ1si52*GT7+3)iBuT zxz#e*=(*MD*jft8&BkD(=VoWH(Q|V!*yy=Ab!=?~<>q3r(Q~V3u+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BlU0jwJ+WzvfSyp-EM#0^*Vl7 zk6w#d>-A=I9H#xnAvNhG55t#Hf1365$PZifz)#ZttgUz=b^Rc#HDlqXBC8#Dy;GVe z0&#L(GwO6inDQRT(P(fSQsFtI!gYnSYzA(U_%HpYoBC16=I72_!X9TYVym+kv11K& zaZx8zImPg{6c}0xTxQrM7R@O3IN!O91h1?JyR4XX{K*YN5oa7BWgQ`A9U;PTk`r=~ z-_!u%bRxjzM9Ah8MycNvnVcYHbAp)72_hU(NmVp+lju`c;Fr;0x6J9|IyY>Jph3{b zv)~oAkJ~d%J&<$*qv}D_^25CdPk(`32O<&}mXX7-Jakjtfi3nDaU8`15#>Ej%&jAF z60or?VN)C&x{9SIZ#;9;q#_O5-?xSW-J;6E5Bn>A=!u`}XC1d1FQtQX!OYoG@SLT@ zqNRq6i2GBPNSn@Bg1LiJlD>llR;}i0xLv3N!oRF=C@5Qt_s08t!AWpx+3t6yhdbU;Z%Vt%otaae z?aZm5;cj*o&Cb~lcBZJ%on8ZFbV`B$N>vpPSdOdbslE!SsS+l?=i+t!O!db<+xKrD zcH^k6j$3lr?WIRi*hr3|?xCuV`g(LoUziScH|%tKvU;ZzdB=gcn^&>PAL?VGFi|KK OYx)1}Pw7AG^xMB{_q`4P literal 0 HcmV?d00001 diff --git a/__pycache__/utils.cpython-312.pyc b/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7a8d76aabad4677176af6ba412126db9e065ba8d GIT binary patch literal 3748 zcmbVPZA@F&89w*J*I!&48}kh%p)u6qV@sh*iqd2xCJ9+XT3~8J(^{VI1q}Y$xz`X7 z*1V~cKt%)8Y^GDBCatEWN)@vGY5q)+_G{Aq*fN>DoBWuxLg62Cx=H27wD(;5+LX9I zwjqo4Maa9_HOEtk>!h`-9?V z=owkPf5zQ+Ju)Xx!k0^v;Ye4|E6E}**CmN~21bH&-bmznRQ3m??#P_NPl&RIY$(az zU<6mdo(pS7QypX%9`uGzx z4(ek{gBJR=qTM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k?tv*=0u2Tv0yhv(`wpKQGUZ- z$Rt)XLxfpynhrfadJrWZAiVGvk-hN*wrP{&*01;f_;&T1?^kZ$hNJiIUQfGmA4uel zQ&V^{rLh`1AaScF3Xe=mm&6+`IO&zs;A!#kAjjT}Dr7ZX7d=E7 zZJRF8Z&K|oWG08lc>Q02opk63!pVxF{}@V`8IzDQ+vN^-EWy*?KaQItQWP;#=x&2T zgw+&N)2pE?l?jc9a5mHz`e%GK8*2)$*^|Eg{SVKMQ|r^0K79aFS#5hrH#ntT3Qv00 n7E1}C^+$EE7RpAThUfu{NpW1*=88OiuI0LJ*3BdDay$M5ijhXH literal 0 HcmV?d00001 diff --git a/auth/.DS_Store b/auth/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..a292f56e49e07b1b584c4550f1aadb55b0d12f63 GIT binary patch literal 6148 zcmeHKJ8r`;3?&;60kUMws4L_KLXe&y2XONPG8k}yqC+=NIaiL>$IoK8-JB(O1gIxb zd=m5q(-aZieP6aBYY|z(4drgb)NJ2;Vs9ByARK3$tC`N@F;svGyp96)eJF6lnm7ddrvrnx0Kf)e zH_W}402T`XYvK@y2uy*H-`E;s5miV-i z{fa;WU}-;1=3A0Qsl_GnX+=PXm**E{>ylcR&#CLW@ j{6H=v5EqLAi4V+-jEr{~%)YQOGOAw?RsG5Uq`}$%mBxD) literal 0 HcmV?d00001 diff --git a/auth/__pycache__/MyRateThrottle.cpython-38.pyc b/auth/__pycache__/MyRateThrottle.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0ae2d6b891c53ea0410845550a1909bf46e9d49c GIT binary patch literal 424 zcmY*Vu};G<5Vhk}3RPP%u&}XaDH97qs1;N&K#|h0M3F43HY6f(g6)9P6;{51nGfoc zm5Ec z5%`5f4tH0`AAErd`MBAg%R&ash%ixwF_~Cfq8|=`8KmBWB2a`m0u#)g6i0*;Fms#9 zb=~)9Tn4V2!O>x!$|dj~rIO`>(q>3$Uhpcj{fN@Xie()WO~T9ICJe6@G?<5r)dx}@ zeAt%nv-9JaWocbW`dp|7U9z=^%i1J`q&g|eSPS(eRGinWEMr!gB>q3qw5$~YJ9{N< uH}Y_cmp+O1mC%OXDHzb2Pfd4;RNgDAY;}LLblnaRjd#+ma*BUlN8|@3_G)AR literal 0 HcmV?d00001 diff --git a/auth/__pycache__/__init__.cpython-312.pyc b/auth/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9de525dc88efeea03a0d1e754b35ac5843103b95 GIT binary patch literal 167 zcmX@j%ge<81lQ{W(?IlN5P=Rpvj9b=GgLBYGWxA#C}INgK7-W!a&xhYDX1*T$j^%} z&d4v&%}p#WNiD)ARGeB=29(LIOe`pfNh~eNh>4HS%*!l^kJl@x{Ka9Do1apelWJGQ V3N)4xh>JmtkIamWj77{q764CLEK&df literal 0 HcmV?d00001 diff --git a/auth/__pycache__/__init__.cpython-38.pyc b/auth/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..41311d22b2b93f1faa371167e97e2f8358bd3316 GIT binary patch literal 144 zcmWIL<>g`kf(fqaDIoeWh(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6w%#VV$tC_gJT zxuiIzpt2+*KQF#GBflV~IJKxOwJ0XHGO?f_Cb6_6BPKpRGcU6wK3=b&@)n0pZhlH> NPO2TqxX(b$003-PB5eQw literal 0 HcmV?d00001 diff --git a/auth/__pycache__/authentication.cpython-312.pyc b/auth/__pycache__/authentication.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7fcd63d3985cb378d9df0679446f42cfd76abb32 GIT binary patch literal 2199 zcmb`IO>7%Q6o6;{Y{yxr8^?Cr;DCz>!D-1K6cDtPoZ4whQ->etVntd^c0=s=FSF}{ zqeP@A5;<_mDN-7VNC+t*NTerFFL39w#;IJ5+!LWRx1fYePt5Fk{Zkc{O3dNSoA=)Q z?DPAce|0$Q0FUzL?@!NK0Qj9O%)wQaqbOF^fCMBe1=3WEqKHnX=rj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qXKy#Zy;?75`_6Q=tgS~P)lOG7<5c2xwVOO_ ziAJh)ZoV0%LTW1#v9@Ir35m7QNB1{jrrwMMhl1KlMDyB}Vlfjc4GR5(wUa@Y)H;#a zk6%|Rmup>_m{V%qrF0>QL$#1}Yq06DkhRWIz1ywTp(#f6`#s)W(nYlIm_#1JsUiqM zi|`wE&(b1WK40D|)nI4G2R;3DTYF&`*E=E%bs-Ep3C|*27sGHdt4G^kBv#O5Js^&u z%>m)TR9F*_8vVaG9Q`+f*cXG~GAwox|sk^VI-a@PmQ@)Uc^ZHVpY}(`hi=2Gi*ySz?-A z(DYI;(&uvK{$0PCje@7yHwa~R>W_G4&$%C8zW!YQDzV-rTcWQVLvaQLK9Pgn!M2@- zsc;*i!_-4OJjA2GJi2_gdhp%vr$e3qw}GI@tu%edsF>z%-%4;?1OC1w{BsiuU2L-;_#q A)&Kwi literal 0 HcmV?d00001 diff --git a/auth/authentication.py b/auth/authentication.py new file mode 100644 index 0000000..38f7c91 --- /dev/null +++ b/auth/authentication.py @@ -0,0 +1,45 @@ +from rest_framework import exceptions +from rest_framework.authentication import BaseAuthentication + +from myapp.models import User + + +# 后台接口认证 +class AdminTokenAuthtication(BaseAuthentication): + def authenticate(self, request): + adminToken = request.META.get("HTTP_ADMINTOKEN") + print("检查adminToken==>" + adminToken) + users = User.objects.filter(admin_token=adminToken) + """ + 判定条件: + 1. 传了adminToken + 2. 查到了该帐号 + 3. 该帐号是管理员或演示帐号 + """ + if not adminToken or len(users) == 0 or users[0].role == '2': + raise exceptions.AuthenticationFailed("AUTH_FAIL_END") + else: + print('adminToken验证通过') + + +# 前台接口认证 +class TokenAuthtication(BaseAuthentication): + def authenticate(self, request): + token = request.META.get("HTTP_TOKEN", "") + if token is not None: + print("检查token==>" + token) + users = User.objects.filter(token=token) + # print(users) + """ + 判定条件: + 1. 传了token + 2. 查到了该帐号 + 3. 该帐号是普通用户 + """ + if not token or len(users) == 0 or (users[0].role in ['1', '3']): + raise exceptions.AuthenticationFailed("AUTH_FAIL_FRONT") + else: + print('token验证通过') + else: + print("检查token==>token 为空") + raise exceptions.AuthenticationFailed("AUTH_FAIL_FRONT") diff --git a/git b/git new file mode 100644 index 0000000..e69de29 diff --git a/permission/.DS_Store b/permission/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0DX1*T$j^%} z&d4v&%}p#WNiD)ARGeB=29(LIOe`pfDM&5K%`7g?%+HI7kI&4@EQycTE2#X%VUwGm bQks)$SHuc5oDqnNL5z>gjEsy$%s>_Znk+8w literal 0 HcmV?d00001 diff --git a/permission/__pycache__/__init__.cpython-38.pyc b/permission/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2e837b98f806304c6b349beb9f6011e5e882c265 GIT binary patch literal 150 zcmWIL<>g`kf(fqaDIoeWh(HF6K#l_t7qb9~6oz01O-8?!3`HPe1o6w-#VV$tC_gJT zxuiIzpt2+*KQF#GBflV~IJKxOwJ0XHGO?f_rXaN_H?z1nGe0jTK0Y%qvm`!Vub}c4 ThfQvNN@-529mvqnK+FIDU1B8) literal 0 HcmV?d00001 diff --git a/permission/__pycache__/permission.cpython-312.pyc b/permission/__pycache__/permission.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bec244ee8208dbacc170c5a37c6052fa4c16519e GIT binary patch literal 773 zcmZuv&ubGw6rS1L{4m*&tgTwHl2#PV!CtCJ#S{XGXlIpYpz4W>#FV| zOn4ocM8KAgNXW*j>1G5H!RTHUIWCF$vt%}kgsSuo93uFE2{%P;znH(YYJ2X6WtN-` z%RXn69oqGODZ2YUtr%X}wpVS04b^c}%lr$@*d9r$P97Onj{PIMbUaQcv1!h2>gu2; zO|&PUPj;p0ZE3o5YIa9DUtj2pspev1u`8yx#q{fij+ovNFV+kFNNnrE(}%6xlSjSe zcx$=wU`y!5lg+ut+)MsT{6t@rI)_hx70>j>j`iZH0UZE}8J>v#8D|VjLAvA1=AYsX nz(*(pk5RWDy-dqh9nIqjx@0fPNl^EjhY;?9lY?*+NvlPIJV$^|~bmtMFbQW4>xR;U4~?xnI6mG08ovAyo@8Yz-CNaxKf*ElBtTD{w*1bJ2nf zKEf(+VH;e4oXolVTB=*!5+2;Rp8)nC#Qg!3;NdljQAu67TQLk~goX zGuq(Zu`IJ{?({-c#xH{Kw0S`B*N>aupTFOIyS}^nIv$UAl2_3H#r`yzAU{>kc%|6a z?{anGEcV`Kg;NH3p(+$c7Yf7LWR;5q_KiAklyx}lW+i?Uh7BpVD17+B%tK=PJC2{F zwb318S})z1uIBbk*D3XUP$n&x$90|7%9NS4nXcB-?RtrunT=JcCti@ht3RdnQW%Wj vK4Abuf&lY~{$>%!QOCGlYN-m_De6kyHfwH++Hvrl+L}V`_#;`be#HL)=ZA^6 literal 0 HcmV?d00001 diff --git a/permission/permission.py b/permission/permission.py new file mode 100644 index 0000000..e25a1e8 --- /dev/null +++ b/permission/permission.py @@ -0,0 +1,12 @@ +from myapp.models import User + + +def isDemoAdminUser(request): + adminToken = request.META.get("HTTP_ADMINTOKEN") + users = User.objects.filter(admin_token=adminToken) + if len(users) > 0: + user = users[0] + if user.role == '3': # (角色3)表示演示帐号 + print('演示帐号===>') + return True + return False