Showing
120 changed files
with
270 additions
and
673 deletions
.DS_Store
deleted
100644 → 0
No preview for this file type
assets/.DS_Store
deleted
100644 → 0
No preview for this file type
... | @@ -2,8 +2,8 @@ | ... | @@ -2,8 +2,8 @@ |
2 | <config> | 2 | <config> |
3 | 3 | ||
4 | <sdkconfig | 4 | <sdkconfig |
5 | - YA_APPID="5b96123bf0d7705a6107ef47" | 5 | + YA_APPID="5a9e59a6f0d7706952ebe735" |
6 | - YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6" | 6 | + YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc" |
7 | 7 | ||
8 | 8 | ||
9 | gamesimplename="testest" | 9 | gamesimplename="testest" | ... | ... |
No preview for this file type
assets/sdk/.DS_Store
deleted
100644 → 0
No preview for this file type
... | @@ -150,7 +150,7 @@ function initMatching(){ | ... | @@ -150,7 +150,7 @@ function initMatching(){ |
150 | if(Core.isIos){ | 150 | if(Core.isIos){ |
151 | Core.server = 'https://sdk.uuufish.com'; | 151 | Core.server = 'https://sdk.uuufish.com'; |
152 | }else{ | 152 | }else{ |
153 | - Core.server = 'http://sdk.uuufish.com'; | 153 | + Core.server = 'https://sdk.uuufish.com'; |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ... | ... |
assets/supplierconfig.json
0 → 100644
demo/.DS_Store
deleted
100755 → 0
No preview for this file type
demo/.gitignore
0 → 100644
demo/.idea/codeStyles/Project.xml
0 → 100644
1 | +<component name="ProjectCodeStyleConfiguration"> | ||
2 | + <code_scheme name="Project" version="173"> | ||
3 | + <Objective-C-extensions> | ||
4 | + <file> | ||
5 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" /> | ||
6 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" /> | ||
7 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" /> | ||
8 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" /> | ||
9 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" /> | ||
10 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" /> | ||
11 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" /> | ||
12 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" /> | ||
13 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" /> | ||
14 | + </file> | ||
15 | + <class> | ||
16 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" /> | ||
17 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" /> | ||
18 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" /> | ||
19 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" /> | ||
20 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" /> | ||
21 | + <option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" /> | ||
22 | + </class> | ||
23 | + <extensions> | ||
24 | + <pair source="cpp" header="h" fileNamingConvention="NONE" /> | ||
25 | + <pair source="c" header="h" fileNamingConvention="NONE" /> | ||
26 | + </extensions> | ||
27 | + </Objective-C-extensions> | ||
28 | + </code_scheme> | ||
29 | +</component> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/.idea/gradle.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="GradleSettings"> | ||
4 | + <option name="linkedExternalProjectsSettings"> | ||
5 | + <GradleProjectSettings> | ||
6 | + <compositeConfiguration> | ||
7 | + <compositeBuild compositeDefinitionSource="SCRIPT" /> | ||
8 | + </compositeConfiguration> | ||
9 | + <option name="distributionType" value="DEFAULT_WRAPPED" /> | ||
10 | + <option name="externalProjectPath" value="$PROJECT_DIR$" /> | ||
11 | + <option name="resolveModulePerSourceSet" value="false" /> | ||
12 | + </GradleProjectSettings> | ||
13 | + </option> | ||
14 | + </component> | ||
15 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/.idea/misc.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK"> | ||
4 | + <output url="file://$PROJECT_DIR$/build/classes" /> | ||
5 | + </component> | ||
6 | + <component name="ProjectType"> | ||
7 | + <option name="id" value="Android" /> | ||
8 | + </component> | ||
9 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/.idea/runConfigurations.xml
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<project version="4"> | ||
3 | + <component name="RunConfigurationProducerService"> | ||
4 | + <option name="ignoredProducers"> | ||
5 | + <set> | ||
6 | + <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" /> | ||
7 | + <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" /> | ||
8 | + <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" /> | ||
9 | + </set> | ||
10 | + </option> | ||
11 | + </component> | ||
12 | +</project> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/Demo_haibao_juhe_sdk/.DS_Store
deleted
100644 → 0
No preview for this file type
demo/Demo_haibao_juhe_sdk/.classpath
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<classpath> | ||
3 | - <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> | ||
4 | - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/> | ||
5 | - <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/> | ||
6 | - <classpathentry kind="src" path="src"/> | ||
7 | - <classpathentry kind="src" path="gen"/> | ||
8 | - <classpathentry kind="output" path="bin/classes"/> | ||
9 | -</classpath> |
demo/Demo_haibao_juhe_sdk/.project
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<projectDescription> | ||
3 | - <name>Demo_haibao_juhe_sdk</name> | ||
4 | - <comment></comment> | ||
5 | - <projects> | ||
6 | - </projects> | ||
7 | - <buildSpec> | ||
8 | - <buildCommand> | ||
9 | - <name>org.python.pydev.PyDevBuilder</name> | ||
10 | - <arguments> | ||
11 | - </arguments> | ||
12 | - </buildCommand> | ||
13 | - <buildCommand> | ||
14 | - <name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name> | ||
15 | - <arguments> | ||
16 | - </arguments> | ||
17 | - </buildCommand> | ||
18 | - <buildCommand> | ||
19 | - <name>com.android.ide.eclipse.adt.PreCompilerBuilder</name> | ||
20 | - <arguments> | ||
21 | - </arguments> | ||
22 | - </buildCommand> | ||
23 | - <buildCommand> | ||
24 | - <name>org.eclipse.jdt.core.javabuilder</name> | ||
25 | - <arguments> | ||
26 | - </arguments> | ||
27 | - </buildCommand> | ||
28 | - <buildCommand> | ||
29 | - <name>com.android.ide.eclipse.adt.ApkBuilder</name> | ||
30 | - <arguments> | ||
31 | - </arguments> | ||
32 | - </buildCommand> | ||
33 | - <buildCommand> | ||
34 | - <name>org.eclipse.buildship.core.gradleprojectbuilder</name> | ||
35 | - <arguments> | ||
36 | - </arguments> | ||
37 | - </buildCommand> | ||
38 | - </buildSpec> | ||
39 | - <natures> | ||
40 | - <nature>com.android.ide.eclipse.adt.AndroidNature</nature> | ||
41 | - <nature>org.eclipse.jdt.core.javanature</nature> | ||
42 | - <nature>org.python.pydev.pythonNature</nature> | ||
43 | - <nature>org.eclipse.buildship.core.gradleprojectnature</nature> | ||
44 | - </natures> | ||
45 | -</projectDescription> |
1 | -<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | -<?eclipse-pydev version="1.0"?><pydev_project> | ||
3 | -<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property> | ||
4 | -<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property> | ||
5 | -</pydev_project> |
1 | -# This file is used to override default values used by the Ant build system. | ||
2 | -# | ||
3 | -# This file must be checked into Version Control Systems, as it is | ||
4 | -# integral to the build system of your project. | ||
5 | - | ||
6 | -# This file is only used by the Ant script. | ||
7 | - | ||
8 | -# You can use this to override default values such as | ||
9 | -# 'source.dir' for the location of your java source folder and | ||
10 | -# 'out.dir' for the location of your output folder. | ||
11 | - | ||
12 | -# You can also use it define how the release builds are signed by declaring | ||
13 | -# the following properties: | ||
14 | -# 'key.store' for the location of your keystore and | ||
15 | -# 'key.alias' for the name of the key to use. | ||
16 | -# The password will be asked during the build when you use the 'release' target. | ||
17 | - |
No preview for this file type
No preview for this file type
This diff is collapsed. Click to expand it.
1 | -20180207 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | - package="com.yaxd.haibao.sdk.demo" | ||
4 | - android:versionCode="1" | ||
5 | - android:versionName="1.0" > | ||
6 | - | ||
7 | - <uses-sdk | ||
8 | - android:minSdkVersion="8" | ||
9 | - android:targetSdkVersion="20" /> | ||
10 | - | ||
11 | - <!-- SDK start --> | ||
12 | - <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | ||
13 | - <uses-permission android:name="android.permission.INTERNET" /> | ||
14 | - <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> | ||
15 | - <uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||
16 | - <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | ||
17 | - <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> | ||
18 | - <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> | ||
19 | - <uses-permission android:name="android.permission.READ_LOGS" /> | ||
20 | - <uses-permission android:name="android.permission.GET_TASKS" /> | ||
21 | - <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> | ||
22 | - <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> | ||
23 | - <uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
24 | - <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | ||
25 | - <uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" /> | ||
26 | - <uses-permission android:name="android.permission.NFC" /> | ||
27 | - | ||
28 | - <uses-feature android:name="android.hardware.nfc.hce" /> | ||
29 | - <!-- SDK end --> | ||
30 | - | ||
31 | - <application | ||
32 | - android:name="com.yaxd.haibao.sdk.application.PoolSDKApplication" | ||
33 | - android:allowBackup="true" | ||
34 | - android:icon="@drawable/public_sdk_self_ic_launcher" | ||
35 | - android:label="@string/app_name" > | ||
36 | - <activity | ||
37 | - android:name="com.youai.foolsdk.demo.AppActivity" | ||
38 | - android:configChanges="keyboardHidden|orientation|screenSize" | ||
39 | - android:label="@string/app_name" | ||
40 | - android:screenOrientation="landscape" | ||
41 | - android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > | ||
42 | - <intent-filter> | ||
43 | - <action android:name="android.intent.action.MAIN" /> | ||
44 | - | ||
45 | - <category android:name="android.intent.category.LAUNCHER" /> | ||
46 | - </intent-filter> | ||
47 | - </activity> | ||
48 | - <!-- SDK start --> | ||
49 | - <receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" > | ||
50 | - <intent-filter> | ||
51 | - <action android:name="android.intent.action.PACKAGE_ADDED" /> | ||
52 | - <action android:name="android.intent.action.PACKAGE_REPLACED" /> | ||
53 | - <action android:name="android.intent.action.PACKAGE_REMOVED" /> | ||
54 | - | ||
55 | - <data android:scheme="package" /> | ||
56 | - </intent-filter> | ||
57 | - </receiver> | ||
58 | - | ||
59 | - <activity | ||
60 | - android:name="com.youai.sdk.YouaiSDK" | ||
61 | - android:label="youai_sdk" | ||
62 | - android:launchMode="singleTask" | ||
63 | - android:theme="@android:style/Theme.Dialog" /> | ||
64 | - | ||
65 | - <service | ||
66 | - android:name="com.youai.sdk.YouaiService" | ||
67 | - android:enabled="true" > | ||
68 | - <intent-filter> | ||
69 | - <action android:name="com.youai.sdk.YouaiService" /> | ||
70 | - </intent-filter> | ||
71 | - </service> | ||
72 | - <service | ||
73 | - android:name="com.youai.sdk.FloatViewService" | ||
74 | - android:enabled="true" | ||
75 | - android:exported="true" > | ||
76 | - <intent-filter> | ||
77 | - <action android:name="com.youai.sdk.FloatViewService" /> | ||
78 | - </intent-filter> | ||
79 | - </service> | ||
80 | - | ||
81 | - <receiver android:name="com.youai.sdk.Receiver" > | ||
82 | - <intent-filter> | ||
83 | - <action android:name="android.intent.action.BOOT_COMPLETED" /> | ||
84 | - | ||
85 | - <category android:name="android.intent.category.LAUNCHER" /> | ||
86 | - </intent-filter> | ||
87 | - </receiver> | ||
88 | - | ||
89 | - <activity | ||
90 | - android:name="com.alipay.sdk.app.H5PayActivity" | ||
91 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
92 | - android:exported="false" | ||
93 | - android:screenOrientation="behind" /> | ||
94 | - <activity | ||
95 | - android:name="com.alipay.sdk.auth.AuthActivity" | ||
96 | - android:configChanges="keyboardHidden|navigation|orientation" | ||
97 | - android:exported="false" | ||
98 | - android:screenOrientation="behind" /> | ||
99 | - <activity | ||
100 | - android:name=".wxapi.WXPayEntryActivity" | ||
101 | - android:exported="true" | ||
102 | - android:launchMode="singleTop" /> | ||
103 | - <activity | ||
104 | - android:name=".wxapi.WXEntryActivity" | ||
105 | - android:exported="true" | ||
106 | - android:launchMode="singleTop" /> | ||
107 | - <!-- SDK end --> | ||
108 | - </application> | ||
109 | - | ||
110 | -</manifest> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/Demo_haibao_juhe_sdk/build.xml
deleted
100644 → 0
1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
2 | -<project name="PoolSdk" default="help"> | ||
3 | - | ||
4 | - <!-- The local.properties file is created and updated by the 'android' tool. | ||
5 | - It contains the path to the SDK. It should *NOT* be checked into | ||
6 | - Version Control Systems. --> | ||
7 | - <property file="local.properties" /> | ||
8 | - | ||
9 | - <!-- The ant.properties file can be created by you. It is only edited by the | ||
10 | - 'android' tool to add properties to it. | ||
11 | - This is the place to change some Ant specific build properties. | ||
12 | - Here are some properties you may want to change/update: | ||
13 | - | ||
14 | - source.dir | ||
15 | - The name of the source directory. Default is 'src'. | ||
16 | - out.dir | ||
17 | - The name of the output directory. Default is 'bin'. | ||
18 | - | ||
19 | - For other overridable properties, look at the beginning of the rules | ||
20 | - files in the SDK, at tools/ant/build.xml | ||
21 | - | ||
22 | - Properties related to the SDK location or the project target should | ||
23 | - be updated using the 'android' tool with the 'update' action. | ||
24 | - | ||
25 | - This file is an integral part of the build system for your | ||
26 | - application and should be checked into Version Control Systems. | ||
27 | - | ||
28 | - --> | ||
29 | - <property file="ant.properties" /> | ||
30 | - | ||
31 | - <!-- if sdk.dir was not set from one of the property file, then | ||
32 | - get it from the ANDROID_HOME env var. | ||
33 | - This must be done before we load project.properties since | ||
34 | - the proguard config can use sdk.dir --> | ||
35 | - <property environment="env" /> | ||
36 | - <condition property="sdk.dir" value="${env.ANDROID_HOME}"> | ||
37 | - <isset property="env.ANDROID_HOME" /> | ||
38 | - </condition> | ||
39 | - | ||
40 | - <!-- The project.properties file is created and updated by the 'android' | ||
41 | - tool, as well as ADT. | ||
42 | - | ||
43 | - This contains project specific properties such as project target, and library | ||
44 | - dependencies. Lower level build properties are stored in ant.properties | ||
45 | - (or in .classpath for Eclipse projects). | ||
46 | - | ||
47 | - This file is an integral part of the build system for your | ||
48 | - application and should be checked into Version Control Systems. --> | ||
49 | - <loadproperties srcFile="project.properties" /> | ||
50 | - | ||
51 | - <!-- quick check on sdk.dir --> | ||
52 | - <fail | ||
53 | - message="sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable." | ||
54 | - unless="sdk.dir" | ||
55 | - /> | ||
56 | - | ||
57 | - <!-- | ||
58 | - Import per project custom build rules if present at the root of the project. | ||
59 | - This is the place to put custom intermediary targets such as: | ||
60 | - -pre-build | ||
61 | - -pre-compile | ||
62 | - -post-compile (This is typically used for code obfuscation. | ||
63 | - Compiled code location: ${out.classes.absolute.dir} | ||
64 | - If this is not done in place, override ${out.dex.input.absolute.dir}) | ||
65 | - -post-package | ||
66 | - -post-build | ||
67 | - -pre-clean | ||
68 | - --> | ||
69 | - <import file="custom_rules.xml" optional="true" /> | ||
70 | - | ||
71 | - <!-- Import the actual build file. | ||
72 | - | ||
73 | - To customize existing targets, there are two options: | ||
74 | - - Customize only one target: | ||
75 | - - copy/paste the target into this file, *before* the | ||
76 | - <import> task. | ||
77 | - - customize it to your needs. | ||
78 | - - Customize the whole content of build.xml | ||
79 | - - copy/paste the content of the rules files (minus the top node) | ||
80 | - into this file, replacing the <import> task. | ||
81 | - - customize to your needs. | ||
82 | - | ||
83 | - *********************** | ||
84 | - ****** IMPORTANT ****** | ||
85 | - *********************** | ||
86 | - In all cases you must update the value of version-tag below to read 'custom' instead of an integer, | ||
87 | - in order to avoid having your file be overridden by tools such as "android update project" | ||
88 | - --> | ||
89 | - <!-- version-tag: 1 --> | ||
90 | - <import file="${sdk.dir}/tools/ant/build.xml" /> | ||
91 | - | ||
92 | -</project> |
1 | -/* AUTO-GENERATED FILE. DO NOT MODIFY. | ||
2 | - * | ||
3 | - * This class was automatically generated by the | ||
4 | - * aapt tool from the resource data it found. It | ||
5 | - * should not be modified by hand. | ||
6 | - */ | ||
7 | - | ||
8 | -package com.yaxd.haibao.sdk.demo; | ||
9 | - | ||
10 | -public final class R { | ||
11 | - public static final class attr { | ||
12 | - } | ||
13 | - public static final class drawable { | ||
14 | - public static final int public_sdk_self_demo_btn_login_n=0x7f020000; | ||
15 | - public static final int public_sdk_self_demo_btn_login_s=0x7f020001; | ||
16 | - public static final int public_sdk_self_demo_btn_main_n=0x7f020002; | ||
17 | - public static final int public_sdk_self_demo_btn_main_s=0x7f020003; | ||
18 | - public static final int public_sdk_self_demo_main=0x7f020004; | ||
19 | - public static final int public_sdk_self_ic_launcher=0x7f020005; | ||
20 | - public static final int public_sdk_self_sdk_login_bg=0x7f020006; | ||
21 | - public static final int public_sdk_self_ya_bt_selector=0x7f020007; | ||
22 | - public static final int public_sdk_self_ya_login_bt_selector=0x7f020008; | ||
23 | - } | ||
24 | - public static final class id { | ||
25 | - public static final int forum_bt=0x7f050005; | ||
26 | - public static final int logout_bt=0x7f050004; | ||
27 | - public static final int ya_channel_center=0x7f050000; | ||
28 | - public static final int ya_enter_game_bt=0x7f050007; | ||
29 | - public static final int ya_login_bt=0x7f050006; | ||
30 | - public static final int ya_pay_bt=0x7f050001; | ||
31 | - public static final int ya_submit_role_data_bt=0x7f050003; | ||
32 | - public static final int ya_switch_account_bt=0x7f050002; | ||
33 | - } | ||
34 | - public static final class layout { | ||
35 | - public static final int public_sdk_self_game=0x7f030000; | ||
36 | - public static final int public_sdk_self_game_login=0x7f030001; | ||
37 | - } | ||
38 | - public static final class string { | ||
39 | - public static final int app_name=0x7f040000; | ||
40 | - } | ||
41 | -} |
1 | -/* AUTO-GENERATED FILE. DO NOT MODIFY. | ||
2 | - * | ||
3 | - * This class was automatically generated by the | ||
4 | - * aapt tool from the resource data it found. It | ||
5 | - * should not be modified by hand. | ||
6 | - */ | ||
7 | - | ||
8 | -package com.youai.poolsdk.demo; | ||
9 | - | ||
10 | -public final class R { | ||
11 | - public static final class attr { | ||
12 | - } | ||
13 | - public static final class drawable { | ||
14 | - public static final int public_sdk_self_demo_btn_login_n=0x7f020000; | ||
15 | - public static final int public_sdk_self_demo_btn_login_s=0x7f020001; | ||
16 | - public static final int public_sdk_self_demo_btn_main_n=0x7f020002; | ||
17 | - public static final int public_sdk_self_demo_btn_main_s=0x7f020003; | ||
18 | - public static final int public_sdk_self_demo_main=0x7f020004; | ||
19 | - public static final int public_sdk_self_ic_launcher=0x7f020005; | ||
20 | - public static final int public_sdk_self_sdk_login_bg=0x7f020006; | ||
21 | - public static final int public_sdk_self_ya_bt_selector=0x7f020007; | ||
22 | - public static final int public_sdk_self_ya_login_bt_selector=0x7f020008; | ||
23 | - } | ||
24 | - public static final class id { | ||
25 | - public static final int forum_bt=0x7f050005; | ||
26 | - public static final int logout_bt=0x7f050004; | ||
27 | - public static final int ya_channel_center=0x7f050000; | ||
28 | - public static final int ya_enter_game_bt=0x7f050007; | ||
29 | - public static final int ya_login_bt=0x7f050006; | ||
30 | - public static final int ya_pay_bt=0x7f050001; | ||
31 | - public static final int ya_submit_role_data_bt=0x7f050003; | ||
32 | - public static final int ya_switch_account_bt=0x7f050002; | ||
33 | - } | ||
34 | - public static final class layout { | ||
35 | - public static final int public_sdk_self_game=0x7f030000; | ||
36 | - public static final int public_sdk_self_game_login=0x7f030001; | ||
37 | - } | ||
38 | - public static final class string { | ||
39 | - public static final int app_name=0x7f040000; | ||
40 | - } | ||
41 | -} |

50.2 KB
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
demo/Demo_haibao_juhe_sdk/lint.xml
deleted
100644 → 0
1 | -# This file is automatically generated by Android Tools. | ||
2 | -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
3 | -# | ||
4 | -# This file must *NOT* be checked into Version Control Systems, | ||
5 | -# as it contains information specific to your local configuration. | ||
6 | - | ||
7 | -# location of the SDK. This is only used by Ant | ||
8 | -# For customization when using a Version Control System, please read the | ||
9 | -# header note. | ||
10 | -sdk.dir=D:\\android\\sdk |
No preview for this file type
1 | -# This file is automatically generated by Android Tools. | ||
2 | -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! | ||
3 | -# | ||
4 | -# This file must be checked in Version Control Systems. | ||
5 | -# | ||
6 | -# To customize properties used by the Ant build system edit | ||
7 | -# "ant.properties", and override values to adapt the script to your | ||
8 | -# project structure. | ||
9 | -# | ||
10 | -# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): | ||
11 | -#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt | ||
12 | - | ||
13 | -# Project target. | ||
14 | -target=android-20 |

5.71 KB

6.39 KB

5.59 KB

5.72 KB
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
3 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_selected="true"/> | ||
4 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_main_s" android:state_pressed="true"/> | ||
5 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_main_n"/> | ||
6 | -</selector> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<selector xmlns:android="http://schemas.android.com/apk/res/android" > | ||
3 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_selected="true"/> | ||
4 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_login_s" android:state_pressed="true"/> | ||
5 | - <item android:drawable="@drawable/public_sdk_self_demo_btn_login_n"/> | ||
6 | -</selector> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | - android:layout_width="match_parent" | ||
4 | - android:layout_height="match_parent" | ||
5 | - android:background="@drawable/public_sdk_self_demo_main" > | ||
6 | - | ||
7 | - <Button | ||
8 | - android:id="@+id/ya_channel_center" | ||
9 | - android:layout_width="180dp" | ||
10 | - android:layout_height="60dp" | ||
11 | - android:layout_alignParentRight="true" | ||
12 | - android:layout_alignTop="@+id/ya_pay_bt" | ||
13 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
14 | - android:onClick="yaOnClick"/> | ||
15 | - | ||
16 | - <Button | ||
17 | - android:id="@+id/ya_switch_account_bt" | ||
18 | - android:layout_width="180dp" | ||
19 | - android:layout_height="60dp" | ||
20 | - android:layout_alignParentRight="true" | ||
21 | - android:layout_alignTop="@+id/ya_submit_role_data_bt" | ||
22 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
23 | - android:onClick="yaOnClick" /> | ||
24 | - | ||
25 | - <Button | ||
26 | - android:id="@+id/ya_submit_role_data_bt" | ||
27 | - android:layout_width="180dp" | ||
28 | - android:layout_height="60dp" | ||
29 | - android:layout_alignParentBottom="true" | ||
30 | - android:layout_alignParentLeft="true" | ||
31 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
32 | - android:onClick="yaOnClick" /> | ||
33 | - | ||
34 | - <Button | ||
35 | - android:id="@+id/ya_pay_bt" | ||
36 | - android:layout_width="180dp" | ||
37 | - android:layout_height="60dp" | ||
38 | - android:layout_alignParentLeft="true" | ||
39 | - android:layout_alignParentTop="true" | ||
40 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
41 | - android:onClick="yaOnClick" /> | ||
42 | - | ||
43 | - | ||
44 | - <Button | ||
45 | - android:id="@+id/logout_bt" | ||
46 | - android:layout_width="180dp" | ||
47 | - android:layout_height="60dp" | ||
48 | - android:layout_alignParentLeft="true" | ||
49 | - android:layout_centerVertical="true" | ||
50 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
51 | - android:onClick="yaOnClick" | ||
52 | - android:text="注销" | ||
53 | - android:textColor="@android:color/black" | ||
54 | - /> | ||
55 | - | ||
56 | - <Button | ||
57 | - android:id="@+id/forum_bt" | ||
58 | - android:layout_width="180dp" | ||
59 | - android:layout_height="60dp" | ||
60 | - android:layout_alignParentRight="true" | ||
61 | - android:layout_centerVertical="true" | ||
62 | - android:background="@drawable/public_sdk_self_ya_bt_selector" | ||
63 | - android:onClick="yaOnClick" | ||
64 | - android:text="论坛" | ||
65 | - android:textColor="@android:color/black" | ||
66 | - /> | ||
67 | - | ||
68 | -</RelativeLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | ||
2 | -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | - android:layout_width="match_parent" | ||
4 | - android:background="@drawable/public_sdk_self_sdk_login_bg" | ||
5 | - android:layout_height="match_parent" > | ||
6 | - | ||
7 | - <Button | ||
8 | - android:id="@+id/ya_login_bt" | ||
9 | - android:layout_width="wrap_content" | ||
10 | - android:layout_height="wrap_content" | ||
11 | - android:layout_alignParentRight="true" | ||
12 | - android:layout_alignParentTop="true" | ||
13 | - android:layout_marginRight="28dp" | ||
14 | - android:layout_marginTop="21dp" | ||
15 | - android:background="@drawable/public_sdk_self_ya_login_bt_selector" | ||
16 | - android:onClick="yaOnClick" /> | ||
17 | - | ||
18 | - <Button | ||
19 | - android:id="@+id/ya_enter_game_bt" | ||
20 | - android:layout_width="wrap_content" | ||
21 | - android:layout_height="wrap_content" | ||
22 | - android:layout_alignLeft="@+id/ya_login_bt" | ||
23 | - android:layout_below="@+id/ya_login_bt" | ||
24 | - android:layout_marginTop="28dp" | ||
25 | - android:background="@drawable/public_sdk_self_ya_login_bt_selector" | ||
26 | - android:onClick="yaOnClick"/> | ||
27 | - | ||
28 | -</RelativeLayout> |
demo/app/.gitignore
0 → 100644
1 | +/build |
demo/app/build.gradle
0 → 100644
1 | +apply plugin: 'com.android.application' | ||
2 | + | ||
3 | +android { | ||
4 | + compileSdkVersion 29 | ||
5 | + buildToolsVersion '29.0.2' | ||
6 | + defaultConfig { | ||
7 | + applicationId "com.haibaojuhe.demo" | ||
8 | + targetSdkVersion 27 | ||
9 | + versionCode 1 | ||
10 | + versionName "1.0" | ||
11 | + } | ||
12 | + buildTypes { | ||
13 | + release { | ||
14 | + minifyEnabled false | ||
15 | + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
16 | + } | ||
17 | + } | ||
18 | +} | ||
19 | + | ||
20 | +dependencies { | ||
21 | + implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') | ||
22 | +} |
No preview for this file type
demo/app/libs/YouYuSDK_190805.jar
0 → 100644
No preview for this file type
demo/app/libs/android-support-v4.jar
0 → 100644
No preview for this file type
demo/app/libs/haibao_juhe.jar
0 → 100644
No preview for this file type
demo/app/libs/miit_mdid_1.0.10.aar
0 → 100644
No preview for this file type
No preview for this file type
1 | -# To enable ProGuard in your project, edit project.properties | ||
2 | -# to define the proguard.config property as described in that file. | ||
3 | -# | ||
4 | # Add project specific ProGuard rules here. | 1 | # Add project specific ProGuard rules here. |
5 | -# By default, the flags in this file are appended to flags specified | 2 | +# You can control the set of applied configuration files using the |
6 | -# in ${sdk.dir}/tools/proguard/proguard-android.txt | 3 | +# proguardFiles setting in build.gradle. |
7 | -# You can edit the include path and order by changing the ProGuard | ||
8 | -# include property in project.properties. | ||
9 | # | 4 | # |
10 | # For more details, see | 5 | # For more details, see |
11 | # http://developer.android.com/guide/developing/tools/proguard.html | 6 | # http://developer.android.com/guide/developing/tools/proguard.html |
12 | 7 | ||
13 | -# Add any project specific keep options here: | ||
14 | - | ||
15 | # If your project uses WebView with JS, uncomment the following | 8 | # If your project uses WebView with JS, uncomment the following |
16 | # and specify the fully qualified class name to the JavaScript interface | 9 | # and specify the fully qualified class name to the JavaScript interface |
17 | # class: | 10 | # class: |
18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { | 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { |
19 | # public *; | 12 | # public *; |
20 | #} | 13 | #} |
14 | + | ||
15 | +# Uncomment this to preserve the line number information for | ||
16 | +# debugging stack traces. | ||
17 | +#-keepattributes SourceFile,LineNumberTable | ||
18 | + | ||
19 | +# If you keep the line number information, uncomment this to | ||
20 | +# hide the original source file name. | ||
21 | +#-renamesourcefileattribute SourceFile | ... | ... |
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
3 | - package="com.yaxd.haibao.sdk.demo" | 3 | + package="com.youai.demo.poolsdk"> |
4 | - android:versionCode="1" | ||
5 | - android:versionName="1.0" > | ||
6 | - | ||
7 | - <uses-sdk | ||
8 | - android:minSdkVersion="8" | ||
9 | - android:targetSdkVersion="20" /> | ||
10 | 4 | ||
11 | <!-- SDK start --> | 5 | <!-- SDK start --> |
12 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> | 6 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
... | @@ -24,7 +18,6 @@ | ... | @@ -24,7 +18,6 @@ |
24 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> | 18 | <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> |
25 | <uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" /> | 19 | <uses-permission android:name="org.simalliance.openmobileapi.SMARTCARD" /> |
26 | <uses-permission android:name="android.permission.NFC" /> | 20 | <uses-permission android:name="android.permission.NFC" /> |
27 | - | ||
28 | <uses-feature android:name="android.hardware.nfc.hce" /> | 21 | <uses-feature android:name="android.hardware.nfc.hce" /> |
29 | <!-- SDK end --> | 22 | <!-- SDK end --> |
30 | 23 | ||
... | @@ -37,7 +30,7 @@ | ... | @@ -37,7 +30,7 @@ |
37 | android:name="com.youai.foolsdk.demo.AppActivity" | 30 | android:name="com.youai.foolsdk.demo.AppActivity" |
38 | android:configChanges="keyboardHidden|orientation|screenSize" | 31 | android:configChanges="keyboardHidden|orientation|screenSize" |
39 | android:label="@string/app_name" | 32 | android:label="@string/app_name" |
40 | - android:screenOrientation="landscape" | 33 | + android:screenOrientation="portrait" |
41 | android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > | 34 | android:theme="@android:style/Theme.NoTitleBar.Fullscreen" > |
42 | <intent-filter> | 35 | <intent-filter> |
43 | <action android:name="android.intent.action.MAIN" /> | 36 | <action android:name="android.intent.action.MAIN" /> |
... | @@ -46,7 +39,9 @@ | ... | @@ -46,7 +39,9 @@ |
46 | </intent-filter> | 39 | </intent-filter> |
47 | </activity> | 40 | </activity> |
48 | <!-- SDK start --> | 41 | <!-- SDK start --> |
49 | - <receiver android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" > | 42 | + <receiver |
43 | + android:name="com.yaxd.haibao.sdk.framework.AppInstallReceiver" | ||
44 | + android:label="@string/app_name" > | ||
50 | <intent-filter> | 45 | <intent-filter> |
51 | <action android:name="android.intent.action.PACKAGE_ADDED" /> | 46 | <action android:name="android.intent.action.PACKAGE_ADDED" /> |
52 | <action android:name="android.intent.action.PACKAGE_REPLACED" /> | 47 | <action android:name="android.intent.action.PACKAGE_REPLACED" /> |
... | @@ -69,14 +64,6 @@ | ... | @@ -69,14 +64,6 @@ |
69 | <action android:name="com.youai.sdk.YouaiService" /> | 64 | <action android:name="com.youai.sdk.YouaiService" /> |
70 | </intent-filter> | 65 | </intent-filter> |
71 | </service> | 66 | </service> |
72 | - <service | ||
73 | - android:name="com.youai.sdk.FloatViewService" | ||
74 | - android:enabled="true" | ||
75 | - android:exported="true" > | ||
76 | - <intent-filter> | ||
77 | - <action android:name="com.youai.sdk.FloatViewService" /> | ||
78 | - </intent-filter> | ||
79 | - </service> | ||
80 | 67 | ||
81 | <receiver android:name="com.youai.sdk.Receiver" > | 68 | <receiver android:name="com.youai.sdk.Receiver" > |
82 | <intent-filter> | 69 | <intent-filter> |
... | @@ -96,14 +83,6 @@ | ... | @@ -96,14 +83,6 @@ |
96 | android:configChanges="keyboardHidden|navigation|orientation" | 83 | android:configChanges="keyboardHidden|navigation|orientation" |
97 | android:exported="false" | 84 | android:exported="false" |
98 | android:screenOrientation="behind" /> | 85 | android:screenOrientation="behind" /> |
99 | - <activity | ||
100 | - android:name=".wxapi.WXPayEntryActivity" | ||
101 | - android:exported="true" | ||
102 | - android:launchMode="singleTop" /> | ||
103 | - <activity | ||
104 | - android:name=".wxapi.WXEntryActivity" | ||
105 | - android:exported="true" | ||
106 | - android:launchMode="singleTop" /> | ||
107 | <!-- SDK end --> | 86 | <!-- SDK end --> |
108 | </application> | 87 | </application> |
109 | 88 | ... | ... |
1 | -<?xml version="1.0" encoding="utf-8"?> | 1 | +<?xml version="1.0" encoding="utf-8"?> |
2 | -<config> | 2 | +<config> |
3 | - | 3 | + |
4 | - <sdkconfig | 4 | + <sdkconfig |
5 | - YA_APPID="5b96123bf0d7705a6107ef47" | 5 | + YA_APPID="5a9e59a6f0d7706952ebe735" |
6 | - YA_APPKEY="c3fd1c45163b357e976d17e9c4f43aa6" | 6 | + YA_APPKEY="2cdc96b8bdc7c381174dcd46307bb0dc" |
7 | - | 7 | + |
8 | - | 8 | + |
9 | - gamesimplename="testest" | 9 | + gamesimplename="testest" |
10 | - sdksimplename="youyu" | 10 | + sdksimplename="youyu" |
11 | - sdkversioncode="V1_1" | 11 | + sdkversioncode="V1_1" |
12 | - | 12 | + |
13 | - channelparameter1="" | 13 | + channelparameter1="" |
14 | - channelparameter2="" | 14 | + channelparameter2="" |
15 | - custom="" | 15 | + custom="" |
16 | - gamechannelid="" | 16 | + gamechannelid="" |
17 | - | 17 | + |
18 | - logincheckurl="http://login.public.sdk.haibaoyouxi.com:9010/logincheck/check" | 18 | + logincheckurl="http://login.public.sdk.haibaoyouxi.com:9010/logincheck/check" |
19 | - payorderurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/create" | 19 | + payorderurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/create" |
20 | - paycheckurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/confirm" | 20 | + paycheckurl="http://pay.public.sdk.haibaoyouxi.com:9020/paycheck/confirm" |
21 | - | 21 | + |
22 | - usertype="gssaXIIEiL0=" /> | 22 | + usertype="gssaXIIEiL0=" /> |
23 | - | 23 | + |
24 | </config> | 24 | </config> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
demo/app/src/main/assets/sdk.zip
0 → 100644
No preview for this file type
demo/app/src/main/assets/sdk/.project
0 → 100644
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<projectDescription> | ||
3 | + <name>sdk_3</name> | ||
4 | + <comment></comment> | ||
5 | + <projects> | ||
6 | + </projects> | ||
7 | + <buildSpec> | ||
8 | + <buildCommand> | ||
9 | + <name>com.aptana.editor.php.aptanaPhpBuilder</name> | ||
10 | + <arguments> | ||
11 | + </arguments> | ||
12 | + </buildCommand> | ||
13 | + <buildCommand> | ||
14 | + <name>com.aptana.ide.core.unifiedBuilder</name> | ||
15 | + <arguments> | ||
16 | + </arguments> | ||
17 | + </buildCommand> | ||
18 | + </buildSpec> | ||
19 | + <natures> | ||
20 | + <nature>com.aptana.projects.webnature</nature> | ||
21 | + <nature>com.aptana.editor.php.phpNature</nature> | ||
22 | + </natures> | ||
23 | + <filteredResources> | ||
24 | + <filter> | ||
25 | + <id>1489975865951</id> | ||
26 | + <name></name> | ||
27 | + <type>26</type> | ||
28 | + <matcher> | ||
29 | + <id>org.eclipse.ui.ide.multiFilter</id> | ||
30 | + <arguments>1.0-name-matches-false-false-node_modules</arguments> | ||
31 | + </matcher> | ||
32 | + </filter> | ||
33 | + </filteredResources> | ||
34 | +</projectDescription> |
demo/app/src/main/assets/sdk/agreement.html
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
No preview for this file type
No preview for this file type
... | @@ -150,7 +150,7 @@ function initMatching(){ | ... | @@ -150,7 +150,7 @@ function initMatching(){ |
150 | if(Core.isIos){ | 150 | if(Core.isIos){ |
151 | Core.server = 'https://sdk.uuufish.com'; | 151 | Core.server = 'https://sdk.uuufish.com'; |
152 | }else{ | 152 | }else{ |
153 | - Core.server = 'http://sdk.uuufish.com'; | 153 | + Core.server = 'https://sdk.uuufish.com'; |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ... | ... |
File moved
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
... | @@ -172,6 +172,7 @@ | ... | @@ -172,6 +172,7 @@ |
172 | Core.updateMod('frame'); | 172 | Core.updateMod('frame'); |
173 | return false; | 173 | return false; |
174 | }); | 174 | }); |
175 | + | ||
175 | } | 176 | } |
176 | 177 | ||
177 | Login.prototype.cache = function(n, p) { | 178 | Login.prototype.cache = function(n, p) { |
... | @@ -215,9 +216,9 @@ | ... | @@ -215,9 +216,9 @@ |
215 | Core.user_indexs = index_ary; | 216 | Core.user_indexs = index_ary; |
216 | Core.user_names = name_ary; | 217 | Core.user_names = name_ary; |
217 | 218 | ||
218 | - $("input[name='loginUserName']").val(Core.Data.username); | 219 | + $("input[name='loginUserName']").val(Core.Data.username); |
219 | $("input[name='loginPassword']").val(Core.user_names[Core.Data.username]); | 220 | $("input[name='loginPassword']").val(Core.user_names[Core.Data.username]); |
220 | - | 221 | + |
221 | } | 222 | } |
222 | Login.prototype.login_cb = function(result) { | 223 | Login.prototype.login_cb = function(result) { |
223 | Core.updateData(result.msg); | 224 | Core.updateData(result.msg); |
... | @@ -385,37 +386,31 @@ | ... | @@ -385,37 +386,31 @@ |
385 | }); | 386 | }); |
386 | 387 | ||
387 | 388 | ||
388 | -// that.$c.on('click', '[type=submit],.submit', function(e) { | ||
389 | -// var passWordReg = /^[0-9a-zA-Z]+$/; | ||
390 | -// e.preventDefault(); | ||
391 | -// if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){ | ||
392 | -// Core.showTips("账号不能有大写字母!"); | ||
393 | -// }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){ | ||
394 | -// Core.showTips("密码不能有大写字母!"); | ||
395 | -// }else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){ | ||
396 | -// Core.showTips("密码长度为6-16位字符!"); | ||
397 | -// }else if(!that.$c.find('.checkbox-2').length>0){ | ||
398 | -// Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1); | ||
399 | -// }else if(!passWordReg.test(that.$c.find("input[name='password']").val())){ | ||
400 | -// Core.showTips('请输入数字字母组成的密码!', true); | ||
401 | -// return false; | ||
402 | -// }else{ | ||
403 | -// //如果是游客的话则调用安卓截屏方法 | ||
404 | -// if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){ | ||
405 | -// window.android.screenShot(); | ||
406 | -// } | ||
407 | -// $(this).attr("disabled",true); | ||
408 | -// $(this).css({"background":"#999"}); | ||
409 | -// $(this).parent("li").css({"background":"#999"}); | ||
410 | -// | ||
411 | -// Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that); | ||
412 | -// } | ||
413 | -// return false; | ||
414 | -// }); | ||
415 | - | ||
416 | that.$c.on('click', '[type=submit],.submit', function(e) { | 389 | that.$c.on('click', '[type=submit],.submit', function(e) { |
390 | + var passWordReg = /^[0-9a-zA-Z]+$/; | ||
417 | e.preventDefault(); | 391 | e.preventDefault(); |
418 | - Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that); | 392 | + if(/[A-Z]/.test(that.$c.find("input[name='username']").val())){ |
393 | + Core.showTips("账号不能有大写字母!"); | ||
394 | + }else if(/[A-Z]/.test(that.$c.find("input[name='password']").val())){ | ||
395 | + Core.showTips("密码不能有大写字母!"); | ||
396 | + }else if(that.$c.find("input[name='password']").val().length<6 || that.$c.find("input[name='password']").val().length>16){ | ||
397 | + Core.showTips("密码长度为6-16位字符!"); | ||
398 | + }else if(!that.$c.find('.checkbox-2').length>0){ | ||
399 | + Core.showTips('请同意'+Core.PLATFORM_NAME+'网络协议',1); | ||
400 | + }else if(!passWordReg.test(that.$c.find("input[name='password']").val())){ | ||
401 | + Core.showTips('请输入数字字母组成的密码!', true); | ||
402 | + return false; | ||
403 | + }else{ | ||
404 | + //如果是游客的话则调用安卓截屏方法 | ||
405 | + if (that.$c.find('[name="username"]').val() == that.$c.find('[name="old_usernmae"]').val() && window.android != undefined && window.android.screenShot != undefined ){ | ||
406 | + window.android.screenShot(); | ||
407 | + } | ||
408 | + $(this).attr("disabled",true); | ||
409 | + $(this).css({"background":"#999"}); | ||
410 | + $(this).parent("li").css({"background":"#999"}); | ||
411 | + | ||
412 | + Core.ajax_do(that.$c.find('.ajax'), that.register_cb, that); | ||
413 | + } | ||
419 | return false; | 414 | return false; |
420 | }); | 415 | }); |
421 | 416 | ||
... | @@ -430,7 +425,7 @@ | ... | @@ -430,7 +425,7 @@ |
430 | } | 425 | } |
431 | Register.prototype.set_random = function(){ | 426 | Register.prototype.set_random = function(){ |
432 | var that = this; | 427 | var that = this; |
433 | - var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-6) | 428 | + var random_name = 'yy' + Math.random().toString(36).substr(-2) + new Date().getTime().toString(36).substr(-4) |
434 | var random_passwd = Math.random().toString(36).substr(-6) | 429 | var random_passwd = Math.random().toString(36).substr(-6) |
435 | that.$c.find('[name="username"]').val(random_name) | 430 | that.$c.find('[name="username"]').val(random_name) |
436 | that.$c.find('[name="old_usernmae"]').val(random_name) | 431 | that.$c.find('[name="old_usernmae"]').val(random_name) |
... | @@ -450,19 +445,14 @@ | ... | @@ -450,19 +445,14 @@ |
450 | // 显示一个注册成功信息,并跳转到home | 445 | // 显示一个注册成功信息,并跳转到home |
451 | this.cache(); | 446 | this.cache(); |
452 | Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台'); | 447 | Core.showTips('成功注册,欢迎使用' + Core.PLATFORM_NAME + '游戏平台'); |
453 | - //直接进入游戏 | 448 | + Core.updateMod('home'); |
454 | - Core.finishLogin(); | 449 | + |
455 | -// Core.updateMod('home'); | 450 | + this.$c.find("input#btn-regist").attr('disabled', null); |
456 | -// | 451 | + this.$c.find('.submit').css({"background":"#00beef"}); |
457 | -// this.$c.find("input#btn-regist").attr('disabled', null); | 452 | + this.$c.find('.submit').parent("li").css({"background":"#00beef"}); |
458 | -// this.$c.find('.submit').css({"background":"#00beef"}); | ||
459 | -// this.$c.find('.submit').parent("li").css({"background":"#00beef"}); | ||
460 | } | 453 | } |
461 | Register.prototype.show_after = function() { | 454 | Register.prototype.show_after = function() { |
462 | this.set_random(); | 455 | this.set_random(); |
463 | - Core.hide(); | ||
464 | - Core.showMod("login"); | ||
465 | - this.$c.find("[type=submit],.submit").click(); | ||
466 | } | 456 | } |
467 | Core.registerMod('register', Register); | 457 | Core.registerMod('register', Register); |
468 | 458 | ... | ... |
... | @@ -948,7 +948,7 @@ | ... | @@ -948,7 +948,7 @@ |
948 | } | 948 | } |
949 | IdentityCard.prototype.show_after = function(){ | 949 | IdentityCard.prototype.show_after = function(){ |
950 | if(Core.Data.force_auth == 1){ | 950 | if(Core.Data.force_auth == 1){ |
951 | - $(".js-return-game").attr("href","javascript:Core.finishLogin()"); | 951 | + $(".js-return-game").attr("href","javascript:Core.finishPay()"); |
952 | } | 952 | } |
953 | 953 | ||
954 | } | 954 | } | ... | ... |
File moved
This diff is collapsed. Click to expand it.
File moved
This diff is collapsed. Click to expand it.
1 | -date:2017-4-11 | 1 | +date:2017-4-11 |
2 | author | 2 | author |
3 | -:lizenghua | 3 | +:lizenghua |
4 | instructions | 4 | instructions |
5 | -:与星玩SDK同步 | 5 | +:与星玩SDK同步 |
6 | - | 6 | + |
7 | -date:2017-4-12 | 7 | +date:2017-4-12 |
8 | -author:lizenghua | 8 | +author:lizenghua |
9 | -instructions:修复当账户及密码为空时(本地存储的账号密码数据为空),通过密保找回密码时一直处于加载中无法跳转的问题 | 9 | +instructions:修复当账户及密码为空时(本地存储的账号密码数据为空),通过密保找回密码时一直处于加载中无法跳转的问题 |
10 | - | 10 | + |
11 | -date:2017-4-21 | 11 | +date:2017-4-21 |
12 | -author:lizenghua | 12 | +author:lizenghua |
13 | -instructions: | 13 | +instructions: |
14 | - 1、当用户是正式用户并绑定了手机后进行实名认证;身份证校验js:identity_id.js | 14 | + 1、当用户是正式用户并绑定了手机后进行实名认证;身份证校验js:identity_id.js |
15 | - 改动的文件有:login.html、login.js(同步在sdk_xingwan、sdk_6) | 15 | + 改动的文件有:login.html、login.js(同步在sdk_xingwan、sdk_6) |
16 | - 2、改动注释了pay.js里面的911行到918行:进入sdk要购买的游戏币>0时强制进入渠道充值页面(已同步在sdk_xingwan、sdk_6) | 16 | + 2、改动注释了pay.js里面的911行到918行:进入sdk要购买的游戏币>0时强制进入渠道充值页面(已同步在sdk_xingwan、sdk_6) |
17 | - | 17 | + |
18 | -date:2017-4-24 | 18 | +date:2017-4-24 |
19 | -author:lizenghua | 19 | +author:lizenghua |
20 | -instructions: | 20 | +instructions: |
21 | - 1、处理绑定手机的手机验证规则(176), | 21 | + 1、处理绑定手机的手机验证规则(176), |
22 | - 2、手机找回密码中重置密码残留旧密码问题 | 22 | + 2、手机找回密码中重置密码残留旧密码问题 |
23 | - | 23 | + |
24 | - | 24 | + |
25 | -date:2017-5-3 | 25 | +date:2017-5-3 |
26 | -author:lizenghua | 26 | +author:lizenghua |
27 | -instructions: | 27 | +instructions: |
28 | - 1、注释掉pay.html中的“游爱星”兑换入口 | 28 | + 1、注释掉pay.html中的“游爱星”兑换入口 |
29 | - 2、处理支付方式切换中出现 input_item 为undefind 的bug (将383行的{{?}}移至435行) | 29 | + 2、处理支付方式切换中出现 input_item 为undefind 的bug (将383行的{{?}}移至435行) |
30 | - 3、去掉设置密保中select默认的下拉图标(login.css) | 30 | + 3、去掉设置密保中select默认的下拉图标(login.css) |
31 | - 4、如果没有第三方登录则隐藏掉“第三方登录”字眼 | 31 | + 4、如果没有第三方登录则隐藏掉“第三方登录”字眼 |
32 | - | 32 | + |
33 | -date:2017-5-8 | 33 | +date:2017-5-8 |
34 | -author:lizenghua | 34 | +author:lizenghua |
35 | -instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c改成$(this)) | 35 | +instructions:处理支付方式点击支付图标出现 input_item 为undefind 的bug(将150行$c改成$(this)) |
36 | - | 36 | + |
37 | -date:2017-5-12 | 37 | +date:2017-5-12 |
38 | -author:lizenghua | 38 | +author:lizenghua |
39 | instructions:修改充值的界面显示大小 | 39 | instructions:修改充值的界面显示大小 |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
demo/app/src/main/assets/sdk/version.txt
0 → 100644
1 | +20180906 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
demo/app/src/main/assets/sdkconf.ini
0 → 100644
This diff is collapsed. Click to expand it.
demo/app/src/main/assets/supplierconfig.json
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.

13.8 KB
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
demo/build.gradle
0 → 100644
This diff is collapsed. Click to expand it.
demo/gradle.properties
0 → 100644
This diff is collapsed. Click to expand it.
demo/gradle/wrapper/gradle-wrapper.jar
0 → 100644
No preview for this file type
This diff is collapsed. Click to expand it.
demo/gradlew
0 → 100644
This diff is collapsed. Click to expand it.
demo/gradlew.bat
0 → 100644
This diff is collapsed. Click to expand it.
demo/settings.gradle
0 → 100644
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
libs/.DS_Store
deleted
100644 → 0
No preview for this file type
libs/YouYuSDK181127.jar
deleted
100644 → 0
No preview for this file type
libs/YouYuSDK_190805.jar
0 → 100644
No preview for this file type
No preview for this file type
No preview for this file type
libs/miit_mdid_1.0.10.aar
0 → 100644
No preview for this file type
-
Please register or login to post a comment