From 7c1bea713b9dc58bedd7d3449bafb27bcf673a07 Mon Sep 17 00:00:00 2001 From: fmk Date: Mon, 13 Sep 2021 19:01:22 +0800 Subject: [PATCH] safety --- assets/image/2x/icon_integral_login.png | Bin 0 -> 1133 bytes assets/image/2x/share_image_close.png | Bin 0 -> 813 bytes assets/image/3x/icon_integral_login.png | Bin 0 -> 2006 bytes assets/image/3x/share_image_close.png | Bin 0 -> 1510 bytes assets/image/icon_integral_login.png | Bin 0 -> 630 bytes assets/image/share_image_close.png | Bin 0 -> 438 bytes .../i18n/users/es.lproj/Localizable.strings | 81 ++ .../i18n/users/fr.lproj/Localizable.strings | 81 ++ lib/retrofit/data/base_data.g.dart | 37 + lib/retrofit/retrofit_api.g.dart | 1185 +++++++++++++++++ 10 files changed, 1384 insertions(+) create mode 100644 assets/image/2x/icon_integral_login.png create mode 100644 assets/image/2x/share_image_close.png create mode 100644 assets/image/3x/icon_integral_login.png create mode 100644 assets/image/3x/share_image_close.png create mode 100644 assets/image/icon_integral_login.png create mode 100644 assets/image/share_image_close.png create mode 100644 ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings create mode 100644 ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings create mode 100644 lib/retrofit/data/base_data.g.dart create mode 100644 lib/retrofit/retrofit_api.g.dart diff --git a/assets/image/2x/icon_integral_login.png b/assets/image/2x/icon_integral_login.png new file mode 100644 index 0000000000000000000000000000000000000000..c341bbc84d6fd1de3b9fe1c5bad17e5df1b072fa GIT binary patch literal 1133 zcmV-z1d{uSP)Px(CrLy>RA@u(S!+mBVHkeS+SKXsI;W}Kq%3QimQ)m3P-!WYC6yK3encjeL4{@1 zpNPsJDh$ksDC{PLWkK2%iXx($T~TAKezXJ-{(2+ zcfRj=&k<}kn+?7A68Z%Eo!z*z(I?ain)yo27{-1)a!8G?A#5UBk_xc7@&2gqJ< ztKWZ-XK7LMjeY~nhZ=IlmbBzxQO8*z+g6F%dHYTZg}k#sj-nGuxDx> zRLWql;@t%?3;5Xj1-aElXlQSeL?+Td45hO+V_;x}B%EU~lYq8wW~{ut6FTE3DiX25 z(Kw#D4Wf^d3Qs^x0`@&PgVQgsQWqz{C8N@@aol3+9Ml3DOijqD*bK`LD|K-KRLJD0 z%q~J?Kp0gXY60ZVlMe8>NC!wKXfA32Yp?CYy-zP_YW{(l7@dGaX&b3>Q47dEUx@cD zpQ(yEf(8fmN5#C|RJo`HOgp;{#*Q|sqK=?oUlBJK6;tJ+7SQWE(CeQ8x4V$7%L#S+ z9paNZosSFuvuXSiEFPKGvrEX;Ibdlq!*KgeCmFw(F8BGhuFI9GQsbZqwm)@!`YCWR zy9jFk(4G}QsyRD}TWdd~RqNbZ1ZtuY7~kKH=<1&9*EsmU{Upu2LT*@!|3^8h({cc$hd#7|@*&rJYHL_jD;sbUf87s!qHUlqWerJIC*r33%H0J2108gwAT ze7of<6JN50lHpzx9*c0L^w%z4ci_A22d?Puq7FcD}d}+ z!bYj0rh{gYe>uqG*(uoOA*)1?VGQd5c2rx#djbHV2(&Bf~EENKEtYcAl((@HJ` zSd*+y%0h1P+&%%UHUnp=^WiFIS=OFxOb5yU#zG`xY8@k540?vTsm zNREs{eAr;OP>*g@YT=%a?-S6|cigdFukXN5jX)KTD{BD700000NkvXXu0mjf5oj9( literal 0 HcmV?d00001 diff --git a/assets/image/2x/share_image_close.png b/assets/image/2x/share_image_close.png new file mode 100644 index 0000000000000000000000000000000000000000..c9ffcf2c952e2be67010b6ee0262d5f0d27fa298 GIT binary patch literal 813 zcmV+|1JeA7P)Px%=Sf6CRA@u(n9FMuQ543%Q_Dm_u_8ViTigiZLPf-d2!g@AHll(XK@6_C5D_1L zfK@DXk(E>my68r1aW4@B=|YM~7b3VRt*H;hN(G%zy>j9mxe1e*bElb1g?qPi?!CYH z<~xsslv3mPj}|%Ll)si!IAww16m|+XDc~&OEa5DXwg;TTPT^<;Tpdo^Ax>eZu&cvq zd%!8|6n34i!yafy(k*`f<&8eB9vLWXd9|y5?V`;qyqo*kGg zL4w)(Jxb}s3I~UVLwEW7+^_x4wG(#53P(YkD#azG#JfSviWP2zUMQHV^0S=R<(G=R z;#wUC&%h4>bjJn8J^yQs)Pa{7_#S`_aX?Ye!+e~QC6*X?7(hNLaEFtw%D`6u983b7 zL0Ow-;IjZu*aAzMf+WWB-X{#a55RSsjW!@Qu>ywM49vxy6VDTDu$m*Hn~U9O3V>(l zOT>pNr3L{UmH=lsUQQ8FIRM@d;F<(D!vX#d5xuShYn6up?36-x_$SgV5#6ZI5(e-g z0GB1e8N`eb(aQ#4tunvG-VA`EuACtv{`&RxPhkzb4Ztk`>sAT$4*)lb=wm3bhURL) zRbw@*G7(LgAPou|em(=>WX8mkMD(bcArx3EeF4DnjG&(q(OB5sErB)kX#fKqh7MJ> zrH7m0lv3>JiycTrPO$sUo)ufd3{*;S^@{F^2>Y4`doM!{+onjA19jHgs-2nCg=mXHJe;)>o rhkdyOU;)59fHwf%5>fqsizMq04cCA^L2u};00000NkvXXu0mjfSDteG literal 0 HcmV?d00001 diff --git a/assets/image/3x/icon_integral_login.png b/assets/image/3x/icon_integral_login.png new file mode 100644 index 0000000000000000000000000000000000000000..27009e61e244eac2ee2dd3533ec7ca681d2a7c50 GIT binary patch literal 2006 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 M07*qoM6N<$f@DgeiU0rr literal 0 HcmV?d00001 diff --git a/assets/image/icon_integral_login.png b/assets/image/icon_integral_login.png new file mode 100644 index 0000000000000000000000000000000000000000..b87c72af8e8fd9dd39be944c0f302e45338a35a8 GIT binary patch literal 630 zcmV-+0*U>JP)Px%FiAu~R7gu>{Qv*|e+C)?#zA4hyC0tzHr_tWaP7@~uwS)A6dC+gZ5f0(_z3!) zpbw5cz06Q~a5}@6-``OT<6-4wXt&Q~u#(orYYAQp9(;Vx5WTs9;m6-!SPkJ|W@A|D z+rXf}FNxCORA-w_m|*HeqfCK{G`#yUHStAz0m!JPZE*`^!+UcOt{FXO|g%zW&Vc z_3mr1LEOrs4D6!347M`*484wd49rYShvDn*A7F!c*|-=Y zG+h`{^!ylDn3&1W2go{q{r$u6=+g@ZP{_;iOE9o9vEVfrCW$j2fDC;2={dvq-#_sh z#L3Fepui`|z{-r>LJSLj{`ti)8jcL<27wIh%&aI5 zLa_i8soA@G8BV{rPL%i26`4tDF-&nOMu~J33qU1i)3JGE84lA_Z=KBGr(y#)1I2>U z{ZknBJvvK~1x|9t4Bd`7*eyug(ZO)`+n z(Cd_o-3L!Tzh;S0hs#-$dU9C QA^-pY07*qoM6N<$g1Ad1H~;_u literal 0 HcmV?d00001 diff --git a/assets/image/share_image_close.png b/assets/image/share_image_close.png new file mode 100644 index 0000000000000000000000000000000000000000..f77c779d04e3755181d14deeee7dec8d8460c3d9 GIT binary patch literal 438 zcmV;n0ZIOeP)Px$a7jc#R7gwh);}x*VHn5p?-Lq-6C|yq{*49;F&G#+h`~lgVz3wuoobax%v~6a zA`y{@u$c@U7!1N0!EC-+Mpzd!P5Y_f9O!TH_Bc31Cyz zpcMK33Q7@_qVTZ!|E@SXeTeKH+;vTlMfYlJD&Cx#o}S+;mp0P_gME!BJ)QM8UWa4R z#L3l**m?T3B^nN0$0u4-23K@({W6x$WSiTgRac40w$zVcCtz>|4C;QM8~?J#Zd@m8 z(o(42S90^5xK8*EYTy+hRP5_iCY;s83qaTl_ECzA!ZSdx8}_+*hYAk?Q*PL2yDckR zr(Fb8J8>T`$O{k`#VpGj2S$JC_hL&#HVmv?F%NY3#Ls|P5y|FYJ9Pw@1DeXjZ*{(i z=9bj9R?;QV>*g0T#OFz(Uub{ymzXvqo gF|aQpk6xww04xJ4FO`_fQUCw|07*qoM6N<$f}&r(qW}N^ literal 0 HcmV?d00001 diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings new file mode 100644 index 00000000..afec30d5 --- /dev/null +++ b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/es.lproj/Localizable.strings @@ -0,0 +1,81 @@ +// common +"return"="regreso"; +"Cancel"="Cancelar"; +"OK"="OK"; + +// unimp +"There is no uni applet (%@) application resource in the running path, please check whether the application resource is deployed normally"="No hay un recurso de aplicación uni applet (% @) en la ruta de ejecución, verifique si el recurso de la aplicación se implementa normalmente"; + +// ad +"Refresh"="Actualizar"; +"copy Link"="copiar link"; +"Use Safari to open"="Usa Safari para abrir"; +"Share page"="Compartir pagina"; +"AD"="ANUNCIO"; +"View details"="Ver detalles"; +"Download"="Descargar"; +"Open"="Abierto"; +"jump over"="salte por encima"; + +// video +"Brightness"="Brillo"; +"Volume"="Volumen"; +"Barrage"="Bombardeo"; + +// devtool +"search"="buscar"; +"Connecting to debugging service (%@)"="Conectando al servicio de depuración (% @)"; +"The connection with debugging service has been disconnected. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="Se ha desconectado la conexión con el servicio de depuración. Las posibles razones son las siguientes: \ n1. el teléfono móvil y la PC no están en la misma LAN. \ n2. Los teléfonos móviles utilizan redes móviles. \ n3. El teléfono móvil utiliza VPN y otras configuraciones de proxy. \ n4. La PC tiene un firewall."; +"Unable to connect to debug service connection. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="No se puede conectar a la conexión del servicio de depuración. Las posibles razones son las siguientes: \ n1. el teléfono móvil y la PC no están en la misma LAN. \ n2. Los teléfonos móviles utilizan redes móviles. \ n3. El teléfono móvil utiliza VPN y otras configuraciones de proxy. \ n4. La PC tiene un firewall."; +"Reconnection debugging service"="Servicio de depuración de reconexión"; + +// map +"starting point"="punto de partida"; +"terminal point"="punto terminal"; +"Failed to verify the configured Baidu map key (appkey) [%d], reference: https://ask.dcloud.net.cn/article/29"="No se pudo verificar la clave de mapa de Baidu configurada (appkey) [% d], referencia: https://ask.dcloud.net.cn/article/29"; +"Baidu Maps"="Mapas de Baidu"; +"Gaode Maps"="Mapas de Gaode"; +"Take %@: get on at %@ and get off at %@ via %ld station"="Tome% @: suba en% @ y bájese en% @ a través de la estación% ld"; + +// gallery +"download failed"="Descarga fracasó"; +"File download failed, try to download again?"="Error al descargar el archivo, ¿intentar descargarlo de nuevo?"; +"Retry"="Rever"; +"Next" = "Próximo"; +"Done" = "Hecho"; +"Sorry" = "Lo siento"; +"Setting" = "Configuración"; +"Photos" = "Fotos"; +"Videos" = "Videos"; +"Preview" = "Avance"; +"Full image" = "Imagen completa"; +"Processing..." = "Procesando..."; +"Synchronizing photos from iCloud" = "Sincronizar fotos desde iCloud"; +"Can not use camera" = "No puedo usar la cámara"; +"Can not choose both video and photo" = "No se puede elegir tanto el video como la foto."; +"Can not choose both photo and GIF" = "No se puede elegir tanto la foto como el GIF"; +"Select the video when in multi state, we will handle the video as a photo" = "Seleccione el video cuando esté en varios estados, manejaremos el video como una foto"; +"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "No se puede saltar a la página de configuración de privacidad, vaya a la página de configuración por sí mismo, gracias"; +"Select a maximum of %zd photos" = "Seleccione un máximo de %zd fotos"; +"Select a minimum of %zd photos" = "Seleccione un mínimo de %zd fotos"; +"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Permita que %@ acceda a su álbum en \"Configuración -> Privacidad -> Fotos\""; +"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Permita que %@ acceda a su cámara en \"Configuración -> Privacidad -> Cámara\""; +"Can not access photos in album" = "No se puede acceder a las fotos del álbum."; +"Can not access all photos in album" = "No se puede acceder a todas las fotos del álbum."; +"No photo access" = "Actualmente no hay permiso de acceso a fotos. Se recomienda ir a la configuración del sistema para permitir que las aplicaciones accedan a [Todas las fotos] en [Fotos]"; +"Photo access restricted" = "La aplicación solo puede acceder a algunas fotos del álbum. Se recomienda ir a la configuración del sistema para permitir que la aplicación acceda a [Todas las fotos] en [Fotos]"; +"Go to system settings" = "Ir a la configuración del sistema"; +"Limit tips" = "No se puede acceder a todas las fotos del álbum. \ NPermita el acceso a 「Todas las fotos」 en 「Fotos」."; +"Limit Alert Tips" = "Continuar visitando algunas fotos"; +"Edit" = "Editar"; +"_LFME_oKButtonTitle" = "Hecho"; +"_LFME_cancelButtonTitle" = "Cancelar"; +"_LFME_processHintStr" = "Procesando..."; +"_LFME_alertViewCancelTitle" = "Hecho"; +"_LFME_reachMaximumLimitTitle" = "Límite de entrada alcanzado"; +"Original" = "Original"; +"_LFME_sticker_remove_normal" = "Arrastra aquí para borrar"; +"_LFME_sticker_remove_selected" = "Deja ir a borrar"; +"_LFME_UserGuide_ToolBar_Scroll" = "Desplácese hacia la izquierda encontrará más funciones."; +"_LFME_UserGuide_StickerView_MovingView_Pinch" = "Dos dedos también pueden hacer zoom y rotar."; +"_LFME_UserGuide_StickerView_DisplayView_LongPress" = "Mantenga pulsado para obtener una vista previa de la imagen."; diff --git a/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings new file mode 100644 index 00000000..01b398a6 --- /dev/null +++ b/ios/UniMPSDK/Resources/PandoraApi.bundle/i18n/users/fr.lproj/Localizable.strings @@ -0,0 +1,81 @@ +// common +"return"="revenir"; +"Cancel"="Annuler"; +"OK"="d'accord"; + +// unimp +"There is no uni applet (%@) application resource in the running path, please check whether the application resource is deployed normally"="Il n'y a pas de ressource d'application uni applet (%@) dans le chemin d'exécution, veuillez vérifier si la ressource d'application est déployée normalement"; + +// ad +"Refresh"="Rafraîchir"; +"copy Link"="Copier le lien"; +"Use Safari to open"="Utilisez Safari pour ouvrir"; +"Share page"="Partager la page"; +"AD"="UN D"; +"View details"="Voir les détails"; +"Download"="Télécharger"; +"Open"="Ouvert"; +"jump over"="franchir"; + +// video +"Brightness"="Luminosité"; +"Volume"="Le volume"; +"Barrage"="Barrage"; + +// devtool +"search"="rechercher"; +"Connecting to debugging service (%@)"="Connexion au service de débogage (%@)"; +"The connection with debugging service has been disconnected. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="La connexion avec le service de débogage a été déconnectée. Les raisons possibles sont les suivantes : \n1. le téléphone portable et le PC ne sont pas sur le même réseau local. \n2. Les téléphones portables utilisent les réseaux mobiles. \n3. Le téléphone mobile utilise un VPN et d'autres paramètres proxy. \n4. Le PC a un pare-feu."; +"Unable to connect to debug service connection. Possible reasons are as follows: \n1. the mobile phone and PC are not in the same LAN. \n2. Mobile phones use mobile networks. \n3. Mobile phone uses VPN and other proxy settings. \n4. The PC has a firewall."="Impossible de se connecter à la connexion du service de débogage. Les raisons possibles sont les suivantes : \n1. le téléphone portable et le PC ne sont pas sur le même réseau local. \n2. Les téléphones portables utilisent les réseaux mobiles. \n3. Le téléphone mobile utilise un VPN et d'autres paramètres proxy. \n4. Le PC a un pare-feu."; +"Reconnection debugging service"="Service de débogage de reconnexion"; + +// map +"starting point"="starting point"; +"terminal point"="Point final"; +"Failed to verify the configured Baidu map key (appkey) [%d], reference: https://ask.dcloud.net.cn/article/29"="Échec de la vérification de la clé de carte Baidu configurée (appkey) [%d], référence :https://ask.dcloud.net.cn/article/29"; +"Baidu Maps"="Cartes de Baidu"; +"Gaode Maps"="Cartes Gaode"; +"Take %@: get on at %@ and get off at %@ via %ld station"="Prendre %@ : monter à %@ et descendre à %@ via la station %ld"; + +// gallery +"download failed"="Échec du téléchargement"; +"File download failed, try to download again?"="Échec du téléchargement du fichier, réessayer de télécharger ?"; +"Retry"="Réessayez"; +"Next" = "Suivant"; +"Done" = "Fait"; +"Sorry" = "Pardon"; +"Setting" = "Réglage"; +"Photos" = "Photos"; +"Videos" = "Vidéos"; +"Preview" = "Aperçu"; +"Full image" = "Image complète"; +"Processing..." = "Traitement..."; +"Synchronizing photos from iCloud" = "Synchroniser des photos depuis iCloud"; +"Can not use camera" = "Impossible d'utiliser l'appareil photo"; +"Can not choose both video and photo" = "Impossible de choisir à la fois la vidéo et la photo"; +"Can not choose both photo and GIF" = "Impossible de choisir à la fois photo et GIF"; +"Select the video when in multi state, we will handle the video as a photo" = "Sélectionnez la vidéo lorsqu'elle est en multi-état, nous traiterons la vidéo comme une photo"; +"Can not jump to the privacy settings page, please go to the settings page by self, thank you" = "Impossible d'accéder à la page des paramètres de confidentialité, veuillez vous rendre à la page des paramètres par vous-même, merci"; +"Select a maximum of %zd photos" = "Sélectionnez un maximum de %zd photos"; +"Select a minimum of %zd photos" = "Sélectionnez un minimum de %zd photos"; +"Allow %@ to access your album in \"Settings -> Privacy -> Photos\"" = "Autorisez %@ à accéder à votre album dans \"Paramètres -> Confidentialité -> Photos\""; +"Please allow %@ to access your camera in \"Settings -> Privacy -> Camera\"" = "Veuillez autoriser %@ à accéder à votre caméra dans \"Paramètres -> Confidentialité -> Caméra\""; +"Can not access photos in album" = "Impossible d'accéder aux photos dans l'album"; +"Can not access all photos in album" = "Impossible d'accéder à toutes les photos de l'album"; +"No photo access" = "Il n'y a actuellement aucune autorisation d'accès aux photos. Il est recommandé d'aller dans les paramètres système pour permettre aux applications d'accéder à [Toutes les photos] dans [Photos]"; +"Photo access restricted" = "L'application ne peut accéder qu'à certaines photos de l'album. Il est recommandé d'aller dans les paramètres système pour permettre à l'application d'accéder à [Toutes les photos] dans [Photos]"; +"Go to system settings" = "Allez dans les paramètres système"; +"Limit tips" = "Impossible d'accéder à toutes les photos de l'album.\nVeuillez autoriser l'accès à 「Toutes les photos」 dans 「Photos」."; +"Limit Alert Tips" = "Continuez à visiter quelques photos"; +"Edit" = "Éditer"; +"_LFME_oKButtonTitle" = "Fait"; +"_LFME_cancelButtonTitle" = "Annuler"; +"_LFME_processHintStr" = "Traitement..."; +"_LFME_alertViewCancelTitle" = "Fait"; +"_LFME_reachMaximumLimitTitle" = "Limite d'entrée atteinte"; +"Original" = "Original"; +"_LFME_sticker_remove_normal" = "Faites glisser ici pour supprimer"; +"_LFME_sticker_remove_selected" = "Lâcher prise pour supprimer"; +"_LFME_UserGuide_ToolBar_Scroll" = "Faites défiler vers la gauche pour trouver plus de fonctions."; +"_LFME_UserGuide_StickerView_MovingView_Pinch" = "Deux doigts peuvent également zoomer et pivoter."; +"_LFME_UserGuide_StickerView_DisplayView_LongPress" = "Appuyez longuement pour prévisualiser l'image."; diff --git a/lib/retrofit/data/base_data.g.dart b/lib/retrofit/data/base_data.g.dart new file mode 100644 index 00000000..3a4ba372 --- /dev/null +++ b/lib/retrofit/data/base_data.g.dart @@ -0,0 +1,37 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'base_data.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +BaseData _$BaseDataFromJson( + Map json, + T Function(Object json) fromJsonT, +) { + return BaseData() + ..code = json['code'] as int + ..data = fromJsonT(json['data']) + ..extra = json['extra'] + ..isError = json['isError'] as bool + ..isSuccess = json['isSuccess'] as bool + ..msg = json['msg'] as String + ..path = json['path'] as String + ..timestamp = json['timestamp'] as String; +} + +Map _$BaseDataToJson( + BaseData instance, + Object Function(T value) toJsonT, +) => + { + 'code': instance.code, + 'data': toJsonT(instance.data), + 'extra': instance.extra, + 'isError': instance.isError, + 'isSuccess': instance.isSuccess, + 'msg': instance.msg, + 'path': instance.path, + 'timestamp': instance.timestamp, + }; diff --git a/lib/retrofit/retrofit_api.g.dart b/lib/retrofit/retrofit_api.g.dart new file mode 100644 index 00000000..9b98370e --- /dev/null +++ b/lib/retrofit/retrofit_api.g.dart @@ -0,0 +1,1185 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'retrofit_api.dart'; + +// ************************************************************************** +// RetrofitGenerator +// ************************************************************************** + +class _ApiService implements ApiService { + _ApiService(this._dio, {this.baseUrl}) { + ArgumentError.checkNotNull(_dio, '_dio'); + baseUrl ??= 'https://pos.platform.lotus-wallet.com/app/'; + } + + final Dio _dio; + + String baseUrl; + + @override + Future> upload(data, folderId) async { + ArgumentError.checkNotNull(data, 'data'); + ArgumentError.checkNotNull(folderId, 'folderId'); + const _extra = {}; + final queryParameters = {}; + final _data = FormData(); + _data.files.add(MapEntry( + 'file', + MultipartFile.fromFileSync(data.path, + filename: data.path.split(Platform.pathSeparator).last))); + if (folderId != null) { + _data.fields.add(MapEntry('folderId', folderId.toString())); + } + final _result = await _dio.request>('/file/upload', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => UploadResult.fromJson(json), + ); + return value; + } + + @override + Future searchPoi(lat, lng, keywords, size, page) async { + ArgumentError.checkNotNull(lat, 'lat'); + ArgumentError.checkNotNull(lng, 'lng'); + ArgumentError.checkNotNull(keywords, 'keywords'); + ArgumentError.checkNotNull(size, 'size'); + ArgumentError.checkNotNull(page, 'page'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request( + 'https://restapi.amap.com/v3/place/around?key=542b46afa8e4b88fe1eb3c4d0ba0872f&location=$lat,$lng&keywords=$keywords&offset={size}&page={page}&extensions=all', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = _result.data; + return value; + } + + @override + Future> memberLogin(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/auth/platform/memberLogin', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> sendVerify(mobile) async { + ArgumentError.checkNotNull(mobile, 'mobile'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/auth/sendVerify/$mobile', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> creditGoods(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/creditGoods/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => Goods.fromJson(json), + ), + ); + return value; + } + + @override + Future>> goodsCategory(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/creditGoodsCategory/page', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => GoodsCategory.fromJson(json), + ), + ); + return value; + } + + @override + Future> creditGoodsById(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/creditGoods/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => Goods.fromJson(json), + ); + return value; + } + + @override + Future> queryInfo() async { + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/member/info', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => UserInfo.fromJson(json), + ); + return value; + } + + @override + Future> editInfo(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/member/editMemberInfo', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> signInInfo() async { + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/member/signInInfo', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => SignInfo.fromJson(json), + ); + return value; + } + + @override + Future> signIn() async { + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/member/signIn', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> recharge(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/wallet/recharge', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => WxPay.fromJson(json), + ); + return value; + } + + @override + Future> receiveCoupon(couponId) async { + ArgumentError.checkNotNull(couponId, 'couponId'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/coupon/receive?couponId=$couponId', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> creditOrderList(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/creditOrder/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => ExchangeOrder.fromJson(json), + ), + ); + return value; + } + + @override + Future> creditOrder(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/creditOrder/create', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> addAddress(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/address/add', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> deleteAddress(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/address/delete', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> queryAddress(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/address/detail/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> queryMemberAddress() async { + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/address/queryMemberAddress', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => (json as List) + .map
((i) => Address.fromJson(i as Map)) + .toList()); + return value; + } + + @override + Future> updateAddress(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/address/update', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> queryCoupon(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/coupon/centreList', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => Coupon.fromJson(json), + ), + ); + return value; + } + + @override + Future>> queryCard(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/coupon/packageList', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => Coupon.fromJson(json), + ), + ); + return value; + } + + @override + Future>> queryStore(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/store/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => (json as List) + .map((i) => Store.fromJson(i as Map)) + .toList()); + return value; + } + + @override + Future>> informationList(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/information/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => Activity.fromJson(json), + ), + ); + return value; + } + + @override + Future> informationInfo(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/information/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData
.fromJson( + _result.data, + (json) => Article.fromJson(json), + ); + return value; + } + + @override + Future> activityInfo(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/information/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => Activity.fromJson(json), + ); + return value; + } + + @override + Future> creditOrderReceive(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/creditOrder/receive/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> queryHome() async { + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/home/home', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => BrandData.fromJson(json), + ); + return value; + } + + @override + Future> queryStoreInfo(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/store/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> queryArticle(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/information/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo
.fromJson( + json, + (json) => Article.fromJson(json), + ), + ); + return value; + } + + @override + Future>> queryBanner(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/banner/page', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => BannerData.fromJson(json), + ), + ); + return value; + } + + @override + Future> queryHomeBrand() async { + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/home/brand', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> minLogin(storeId) async { + ArgumentError.checkNotNull(storeId, 'storeId'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/auth/mini/login/$storeId', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> queryBillInfo(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/member/listBill', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => UserBill.fromJson(json), + ), + ); + return value; + } + + @override + Future>> rankList() async { + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/member/rankList', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => (json as List) + .map((i) => Rank.fromJson(i as Map)) + .toList()); + return value; + } + + @override + Future>> orderList(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/order/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => OrderInfo.fromJson(json), + ), + ); + return value; + } + + @override + Future> orderDetail(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/order/orderDetail?id=$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => OrderInfo.fromJson(json), + ); + return value; + } + + @override + Future> continuePay(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/order/continuePay', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> receiveToCard(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/creditOrder/receive/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> vipList(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/member/vipList', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => (json as List) + .map((i) => VipCard.fromJson(i as Map)) + .toList()); + return value; + } + + @override + Future> vipDetail(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/member/vipDetail', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => VipCard.fromJson(json), + ); + return value; + } + + @override + Future>> msgList(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/app-msg/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => Message.fromJson(json), + ), + ); + return value; + } + + @override + Future> queryMsg(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>('/app-msg/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> informationLikes(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/information/likes/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> memberComment(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>('/memberComment', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future>> memberCommentList(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(param ?? {}); + final _result = await _dio.request>( + '/memberComment/list', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData>.fromJson( + _result.data, + (json) => PageInfo.fromJson( + json, + (json) => MemberCommentList.fromJson(json), + ), + ); + return value; + } + + @override + Future> commentLike(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/memberComment/likes/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> delComment(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/memberComment/delete/$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as dynamic, + ); + return value; + } + + @override + Future> shippingTrace(shipperCode, logisticCode) async { + ArgumentError.checkNotNull(shipperCode, 'shipperCode'); + ArgumentError.checkNotNull(logisticCode, 'logisticCode'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/order/getShippingTrace/$shipperCode/$logisticCode', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => Logistics.fromJson(json), + ); + return value; + } + + @override + Future> report(map) async { + ArgumentError.checkNotNull(map, 'map'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + _data.addAll(map ?? {}); + final _result = await _dio.request>('/other/report', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as bool, + ); + return value; + } + + @override + Future> orderCancel(id) async { + ArgumentError.checkNotNull(id, 'id'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + '/order/orderCancel?id=$id', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => json as bool, + ); + return value; + } +}