Ver a proveniência

更新token

tags/0.0.1
Weller há 4 anos
ascendente
cometimento
7960dc51b7
4 ficheiros alterados com 241 adições e 164 eliminações
  1. +227
    -152
      .idea/workspace.xml
  2. +5
    -4
      lib/util/api.dart
  3. +8
    -8
      lib/util/net_util.dart
  4. +1
    -0
      lib/util/taobao/taobao_image_loader.dart

+ 227
- 152
.idea/workspace.xml Ver ficheiro

@@ -5,72 +5,12 @@
</component>
<component name="ChangeListManager">
<list default="true" id="0ff6f366-28dc-4efd-9bca-709f40bc6813" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/OrderDetail@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/back_normal@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/back_selected@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/login@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/message@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/message_have@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/more_normal@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/more_selected@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/recent@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/safe.jpg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/JDSDK.bundle/search@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/yw_1222_baichuan.jpg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/util/extension/string.dart" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/util/taobao/taobao_auth.dart" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/util/taobao/taobao_auth_alert.dart" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/OrderDetail@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/back_normal@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/back_selected@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/login@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/message@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/message_have@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/more_normal@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/more_selected@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/recent@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/safe.jpg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/JDSDK.bundle/search@3x.png" afterDir="false" />
<change afterPath="$PROJECT_DIR$/example/ios/Runner/yw_1222_baichuan.jpg" afterDir="false" />
<change afterPath="$PROJECT_DIR$/lib/util/extension/string.dart" afterDir="false" />
<change afterPath="$PROJECT_DIR$/lib/util/taobao/taobao_auth.dart" afterDir="false" />
<change afterPath="$PROJECT_DIR$/lib/util/taobao/taobao_auth_alert.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/libraries/Flutter_Plugins.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/libraries/Flutter_Plugins.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/.idea/libraries/Flutter_Plugins.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/.idea/libraries/Flutter_Plugins.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/android/app/src/main/AndroidManifest.xml" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/android/app/src/main/AndroidManifest.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Podfile" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Podfile" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Podfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Podfile.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner.xcodeproj/project.pbxproj" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner.xcodeproj/project.pbxproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/AppDelegate.m" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/AppDelegate.m" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/Info.plist" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/ios/Runner/Info.plist" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/lib/main.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/lib/main.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/pubspec.lock" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/pubspec.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/example/pubspec.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/pages/login_page/account/login_account_sk.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/pages/login_page/account/login_account_sk.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/util/color.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/util/extension/color.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/util/taobao/taobao_image_loader.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/util/taobao/taobao_image_loader.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/zhiying_comm.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/lib/zhiying_comm.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/pubspec.lock" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/pubspec.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/pubspec.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/zhiying_comm.iml" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/.symlinks/plugins/zhiying_comm/zhiying_comm.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/Podfile" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/Podfile" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/Podfile.lock" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/Podfile.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/Runner.xcodeproj/project.pbxproj" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/Runner.xcodeproj/project.pbxproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/Runner/AppDelegate.m" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/Runner/AppDelegate.m" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/ios/Runner/Info.plist" beforeDir="false" afterPath="$PROJECT_DIR$/example/ios/Runner/Info.plist" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/lib/main.dart" beforeDir="false" afterPath="$PROJECT_DIR$/example/lib/main.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/pubspec.lock" beforeDir="false" afterPath="$PROJECT_DIR$/example/pubspec.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/example/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/example/pubspec.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lib/pages/login_page/account/login_account_sk.dart" beforeDir="false" afterPath="$PROJECT_DIR$/lib/pages/login_page/account/login_account_sk.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lib/util/color.dart" beforeDir="false" afterPath="$PROJECT_DIR$/lib/util/extension/color.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lib/util/api.dart" beforeDir="false" afterPath="$PROJECT_DIR$/lib/util/api.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lib/util/net_util.dart" beforeDir="false" afterPath="$PROJECT_DIR$/lib/util/net_util.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lib/util/taobao/taobao_image_loader.dart" beforeDir="false" afterPath="$PROJECT_DIR$/lib/util/taobao/taobao_image_loader.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lib/zhiying_comm.dart" beforeDir="false" afterPath="$PROJECT_DIR$/lib/zhiying_comm.dart" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pubspec.lock" beforeDir="false" afterPath="$PROJECT_DIR$/pubspec.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pubspec.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/pubspec.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/zhiying_comm.iml" beforeDir="false" afterPath="$PROJECT_DIR$/zhiying_comm.iml" afterDir="false" />
</list>
<ignored path="$PROJECT_DIR$/.dart_tool/" />
<ignored path="$PROJECT_DIR$/.idea/" />
@@ -93,8 +33,8 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/example/lib/main.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="412">
<caret line="211" column="37" selection-start-line="211" selection-start-column="37" selection-end-line="211" selection-end-column="37" />
<state relative-caret-position="2437">
<caret line="158" column="25" lean-forward="true" selection-start-line="158" selection-start-column="25" selection-end-line="158" selection-end-column="25" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
@@ -103,44 +43,40 @@
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/lib/util/extension/color.dart">
<entry file="file://$PROJECT_DIR$/lib/zhiying_comm.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="355">
<caret line="26" column="2" selection-start-line="26" selection-start-column="2" selection-end-line="26" selection-end-column="2" />
<folding>
<element signature="e#0#1284#0" expanded="true" />
<element signature="e#238#255#0" expanded="true" />
</folding>
<state relative-caret-position="453">
<caret line="27" column="27" selection-start-line="27" selection-start-column="27" selection-end-line="27" selection-end-column="27" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/lib/util/extension/string.dart">
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_auth.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="189">
<caret line="9" selection-start-line="9" selection-end-line="9" />
<state relative-caret-position="211">
<caret line="13" column="11" lean-forward="true" selection-start-line="13" selection-start-column="11" selection-end-line="13" selection-end-column="11" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_auth.dart">
<entry file="file://$PROJECT_DIR$/lib/util/defalut_widget_creater.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="399">
<caret line="19" column="16" selection-start-line="19" selection-start-column="16" selection-end-line="19" selection-end-column="16" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
<state relative-caret-position="168">
<caret line="9" column="29" lean-forward="true" selection-start-line="9" selection-start-column="29" selection-end-line="9" selection-end-column="29" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_auth_alert.dart">
<entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="181">
<caret line="65" column="33" selection-start-line="65" selection-start-column="33" selection-end-line="65" selection-end-column="33" />
<state relative-caret-position="252">
<caret line="12" column="8" selection-start-line="12" selection-start-column="8" selection-end-line="12" selection-end-column="37" />
</state>
</provider>
</entry>
@@ -149,25 +85,52 @@
<entry file="file://$PROJECT_DIR$/../../flutter-sdk/packages/flutter/lib/src/services/platform_channel.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="233">
<caret line="317" column="25" lean-forward="true" selection-start-line="317" selection-start-column="25" selection-end-line="317" selection-end-column="25" />
<caret line="317" column="25" selection-start-line="317" selection-start-column="25" selection-end-line="317" selection-end-column="25" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<file pinned="false" current-in-tab="false">
<entry file="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jdsdk-0.0.1/lib/jdsdk.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150">
<caret line="12" column="3" lean-forward="true" selection-start-line="12" selection-start-column="3" selection-end-line="12" selection-end-column="3" />
<state relative-caret-position="255">
<caret line="17" column="19" selection-start-line="17" selection-start-column="19" selection-end-line="17" selection-end-column="19" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/lib/util/net_util.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159">
<caret line="158" column="9" lean-forward="true" selection-start-line="158" selection-start-column="9" selection-end-line="158" selection-end-column="9" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/pubspec.yaml">
<entry file="file://$PROJECT_DIR$/lib/util/api.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="59" column="9" selection-start-line="59" selection-start-column="9" selection-end-line="59" selection-end-column="9" />
<state relative-caret-position="285">
<caret line="82" column="55" selection-start-line="82" selection-start-column="55" selection-end-line="82" selection-end-column="55" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_image_loader.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="231">
<caret line="11" selection-start-line="11" selection-end-line="11" />
<folding>
<element signature="e#0#22#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@@ -189,6 +152,8 @@
<find>UserInfoNotifier</find>
<find>naviga</find>
<find>color</find>
<find>CreateWidget</find>
<find>token</find>
</findStrings>
</component>
<component name="Git.Settings">
@@ -199,16 +164,20 @@
<list>
<option value="$PROJECT_DIR$/lib/pages/login_page.dart" />
<option value="$PROJECT_DIR$/lib/util/router_util.dart" />
<option value="$PROJECT_DIR$/lib/util/taobao/taobao_image_loader.dart" />
<option value="$PROJECT_DIR$/example/pubspec.yaml" />
<option value="$PROJECT_DIR$/lib/util/taobao/taobao_auth.dart" />
<option value="$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml" />
<option value="$PROJECT_DIR$/lib/zhiying_comm.dart" />
<option value="$PROJECT_DIR$/lib/util/extension/string.dart" />
<option value="$PROJECT_DIR$/lib/util/extension/color.dart" />
<option value="$PROJECT_DIR$/example/lib/main.dart" />
<option value="$PROJECT_DIR$/pubspec.yaml" />
<option value="$PROJECT_DIR$/lib/util/taobao/taobao_auth_alert.dart" />
<option value="$PROJECT_DIR$/lib/util/taobao/taobao_image_loader.dart" />
<option value="$PROJECT_DIR$/lib/util/taobao/taobao_comment_loader.dart" />
<option value="$PROJECT_DIR$/lib/zhiying_comm.dart" />
<option value="$PROJECT_DIR$/example/lib/main.dart" />
<option value="$PROJECT_DIR$/lib/util/widget_creater.dart" />
<option value="$PROJECT_DIR$/lib/util/api.dart" />
<option value="$PROJECT_DIR$/lib/util/net_util.dart" />
</list>
</option>
</component>
@@ -235,6 +204,47 @@
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="example" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="example" type="462c0819:PsiDirectoryNode" />
<item name="android" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="example" type="462c0819:PsiDirectoryNode" />
<item name="android" type="462c0819:PsiDirectoryNode" />
<item name="app" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="example" type="462c0819:PsiDirectoryNode" />
<item name="android" type="462c0819:PsiDirectoryNode" />
<item name="app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="example" type="462c0819:PsiDirectoryNode" />
<item name="android" type="462c0819:PsiDirectoryNode" />
<item name="app" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="example" type="462c0819:PsiDirectoryNode" />
<item name="lib" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
@@ -253,6 +263,45 @@
<item name="util" type="462c0819:PsiDirectoryNode" />
<item name="taobao" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
<item name="Flutter Plugins" type="70bed36:NamedLibraryElementNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
<item name="Flutter Plugins" type="70bed36:NamedLibraryElementNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
<item name="Flutter Plugins" type="70bed36:NamedLibraryElementNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="lib" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
<item name="Flutter Plugins" type="70bed36:NamedLibraryElementNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="lib" type="462c0819:PsiDirectoryNode" />
<item name="util" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="zhiying_comm" type="b2602c69:ProjectViewProjectNode" />
<item name="External Libraries" type="cb654da1:ExternalLibrariesNode" />
<item name="Flutter Plugins" type="70bed36:NamedLibraryElementNode" />
<item name="zhiying_comm" type="462c0819:PsiDirectoryNode" />
<item name="lib" type="462c0819:PsiDirectoryNode" />
<item name="util" type="462c0819:PsiDirectoryNode" />
<item name="taobao" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
</subPane>
@@ -309,7 +358,6 @@
</component>
<component name="ToolWindowManager">
<frame x="1" y="23" width="1920" height="1015" extended-state="6" />
<editor active="true" />
<layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.20979765" />
<window_info id="Captures" order="1" side_tool="true" />
@@ -325,7 +373,7 @@
<window_info anchor="bottom" id="TODO" order="2" weight="0.3296582" />
<window_info anchor="bottom" id="Android Profiler" order="3" show_stripe_button="false" />
<window_info anchor="bottom" id="Logcat" order="4" weight="0.3296582" />
<window_info active="true" anchor="bottom" id="Debug" order="5" sideWeight="0.49946752" visible="true" weight="0.3296582" />
<window_info anchor="bottom" id="Debug" order="5" sideWeight="0.49946752" weight="0.3296582" />
<window_info anchor="bottom" id="Terminal" order="6" weight="0.21940464" />
<window_info anchor="bottom" id="Event Log" order="7" sideWeight="0.5005325" side_tool="true" weight="0.3296582" />
<window_info anchor="bottom" id="Version Control" order="8" />
@@ -426,16 +474,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_image_loader.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="67">
<caret line="31" column="21" lean-forward="true" selection-start-line="31" selection-start-column="21" selection-end-line="31" selection-end-column="21" />
<folding>
<element signature="e#0#22#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../flutter-sdk/packages/flutter/lib/src/material/dialog.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-146">
@@ -457,23 +495,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="252">
<caret line="12" column="38" lean-forward="true" selection-start-line="12" selection-start-column="38" selection-end-line="12" selection-end-column="38" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/api.dart">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret selection-end-line="1" selection-end-column="34" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../flutter-sdk/bin/cache/pkg/sky_engine/lib/core/regexp.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="190">
@@ -488,13 +509,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/zhiying_comm.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="180">
<caret line="18" column="35" selection-start-line="18" selection-start-column="35" selection-end-line="18" selection-end-column="35" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/../../flutter-sdk/bin/cache/pkg/sky_engine/lib/core/int.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="444">
@@ -548,26 +562,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/example/lib/main.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="412">
<caret line="211" column="37" selection-start-line="211" selection-start-column="37" selection-end-line="211" selection-end-column="37" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_auth.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="399">
<caret line="19" column="16" selection-start-line="19" selection-start-column="16" selection-end-line="19" selection-end-column="16" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/pubspec.yaml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
@@ -599,14 +593,95 @@
<entry file="file://$PROJECT_DIR$/../../flutter-sdk/packages/flutter/lib/src/services/platform_channel.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="233">
<caret line="317" column="25" lean-forward="true" selection-start-line="317" selection-start-column="25" selection-end-line="317" selection-end-column="25" />
<caret line="317" column="25" selection-start-line="317" selection-start-column="25" selection-end-line="317" selection-end-column="25" />
</state>
</provider>
</entry>
<entry file="file://$USER_HOME$/.pub-cache/hosted/pub.flutter-io.cn/jdsdk-0.0.1/lib/jdsdk.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="150">
<caret line="12" column="3" lean-forward="true" selection-start-line="12" selection-start-column="3" selection-end-line="12" selection-end-column="3" />
<state relative-caret-position="255">
<caret line="17" column="19" selection-start-line="17" selection-start-column="19" selection-end-line="17" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_comment_loader.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="147">
<caret line="7" column="22" lean-forward="true" selection-start-line="7" selection-start-column="22" selection-end-line="7" selection-end-column="22" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_image_loader.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="231">
<caret line="11" selection-start-line="11" selection-end-line="11" />
<folding>
<element signature="e#0#22#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/example/lib/main.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2437">
<caret line="158" column="25" lean-forward="true" selection-start-line="158" selection-start-column="25" selection-end-line="158" selection-end-column="25" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/zhiying_comm.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="453">
<caret line="27" column="27" selection-start-line="27" selection-start-column="27" selection-end-line="27" selection-end-column="27" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/taobao/taobao_auth.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="211">
<caret line="13" column="11" lean-forward="true" selection-start-line="13" selection-start-column="11" selection-end-line="13" selection-end-column="11" />
<folding>
<element signature="e#0#39#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/defalut_widget_creater.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="168">
<caret line="9" column="29" lean-forward="true" selection-start-line="9" selection-start-column="29" selection-end-line="9" selection-end-column="29" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/example/android/app/src/main/AndroidManifest.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="252">
<caret line="12" column="8" selection-start-line="12" selection-start-column="8" selection-end-line="12" selection-end-column="37" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/api.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="285">
<caret line="82" column="55" selection-start-line="82" selection-start-column="55" selection-end-line="82" selection-end-column="55" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/lib/util/net_util.dart">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159">
<caret line="158" column="9" lean-forward="true" selection-start-line="158" selection-start-column="9" selection-end-line="158" selection-end-column="9" />
<folding>
<element signature="e#0#30#0" expanded="true" />
</folding>
</state>
</provider>
</entry>


+ 5
- 4
lib/util/api.dart Ver ficheiro

@@ -1,8 +1,9 @@
import 'package:dio/dio.dart';
import 'dart:convert';
import 'dart:io';

import 'package:dio/adapter.dart';
import 'package:dio/dio.dart';
import 'package:zhiying_comm/util/empty_util.dart';
import 'dart:io';
import 'dart:convert';
import 'package:zhiying_comm/zhiying_comm.dart';

import 'global_config.dart';
@@ -79,7 +80,7 @@ class Api {
'';
const bool inProduction = const bool.fromEnvironment("dart.vm.product");
if (!inProduction && token != '') {
token = '7f7bdb785dcb02a4536bea2ffe299eda352e127f';
token = 'dda64038e024307436aae390d1242ceaba89040d';
}

if (token != null && token != '') {


+ 8
- 8
lib/util/net_util.dart Ver ficheiro

@@ -1,14 +1,14 @@
import 'package:dio/dio.dart';
import 'package:dio/adapter.dart';
import 'package:provider/provider.dart';
import 'package:zhiying_comm/util/empty_util.dart';
import 'dart:convert';
import 'dart:io';
import 'dart:ui';
import 'dart:convert';
import 'package:zhiying_comm/zhiying_comm.dart';
import 'package:package_info/package_info.dart';

import 'package:device_info/device_info.dart';
import 'package:dio/adapter.dart';
import 'package:dio/dio.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:package_info/package_info.dart';
import 'package:zhiying_comm/util/empty_util.dart';
import 'package:zhiying_comm/zhiying_comm.dart';

import 'global_config.dart';
import 'shared_prefe_util.dart';
@@ -164,7 +164,7 @@ class NetUtil {

const bool inProduction = const bool.fromEnvironment("dart.vm.product");
if (!inProduction && token != '') {
token = '7f7bdb785dcb02a4536bea2ffe299eda352e127f';
token = 'dda64038e024307436aae390d1242ceaba89040d';
}
Dio dio = await NetUtil.getInstance().dio;
response = await dio.request(path,


+ 1
- 0
lib/util/taobao/taobao_image_loader.dart Ver ficheiro

@@ -4,6 +4,7 @@ import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';
import 'package:zhiying_comm/zhiying_comm.dart';

// 淘宝详情图加载
class TaobaoImageLoader extends StatefulWidget {
final String url;
String script;


Carregando…
Cancelar
Guardar