• 大小: 0.76M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 标签: 支付宝  程序  支付  模拟  

资源简介


资源截图

代码片段和文件信息

package alipay;

import java.util.Map;

import android.text.TextUtils;

public class AuthResult {

private String resultStatus;
private String result;
private String memo;
private String resultCode;
private String authCode;
private String alipayOpenId;

public AuthResult(Map rawResult boolean removeBrackets) {
if (rawResult == null) {
return;
}

for (String key : rawResult.keySet()) {
if (TextUtils.equals(key “resultStatus“)) {
resultStatus = rawResult.get(key);
} else if (TextUtils.equals(key “result“)) {
result = rawResult.get(key);
} else if (TextUtils.equals(key “memo“)) {
memo = rawResult.get(key);
}
}

String[] resultValue = result.split(“&“);
for (String value : resultValue) {
if (value.startsWith(“alipay_open_id“)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-11-01 09:42  alipay_demo_eclipse\
     文件         610  2019-11-01 09:43  alipay_demo_eclipse\.classpath
     目录           0  2019-10-31 14:30  alipay_demo_eclipse\.idea\
     文件         336  2017-07-10 17:23  alipay_demo_eclipse\.idea\alipay_demo.iml
     文件         686  2017-07-10 17:23  alipay_demo_eclipse\.idea\compiler.xml
     目录           0  2019-10-31 14:30  alipay_demo_eclipse\.idea\copyright\
     文件          74  2017-07-10 17:23  alipay_demo_eclipse\.idea\copyright\profiles_settings.xml
     文件        1094  2017-07-10 17:23  alipay_demo_eclipse\.idea\misc.xml
     文件         274  2017-07-10 17:23  alipay_demo_eclipse\.idea\modules.xml
     文件       13929  2017-07-10 17:23  alipay_demo_eclipse\.idea\workspace.xml
     文件         855  2016-09-10 13:30  alipay_demo_eclipse\.project
     目录           0  2019-10-31 14:30  alipay_demo_eclipse\.settings\
     文件         173  2017-06-23 13:26  alipay_demo_eclipse\.settings\org.eclipse.jdt.core.prefs
     文件           0  2019-11-01 09:42  alipay_demo_eclipse\AndroidManifest.out.xml
     文件        2638  2016-08-25 12:17  alipay_demo_eclipse\AndroidManifest.xml
     目录           0  2019-10-31 14:30  alipay_demo_eclipse\bin\
     文件        2638  2017-07-07 10:48  alipay_demo_eclipse\bin\AndroidManifest.xml
     目录           0  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\
     文件        6148  2017-06-13 17:40  alipay_demo_eclipse\bin\classes\.DS_Store
     目录           0  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\
     文件        1935  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\AuthResult.class
     文件        4492  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\base64.class
     文件        1924  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\ExternalFragment.class
     文件        4657  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\H5PayDemoActivity$MyWebViewClient.class
     文件        6731  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\H5PayDemoActivity.class
     文件        6057  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\PayDemoActivity.class
     文件        1176  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\PayResult.class
     文件        1872  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay\SignUtils.class
     目录           0  2019-11-01 09:38  alipay_demo_eclipse\bin\classes\alipay_sdk\
     文件        2281  2019-11-01 09:43  alipay_demo_eclipse\bin\classes\alipay_sdk\OrderInfoUtil2_0.class
     目录           0  2019-11-01 09:36  alipay_demo_eclipse\bin\classes\com\
............此处省略57个文件信息

评论

共有 条评论