悦享送 v3.5.1版本的 MD5 值为:111dc8a16f422da8b2f1cf208abae9ea
以下内容为反编译后的 MallGlobalImpl.java 源代码,内容仅作参考
package com.x52im.mall;
import android.app.Activity;
import com.x52im.rainbowchat.Const;
import com.x52im.rainbowchat.MyApplication;
import com.x52im.rainbowchat.logic.main.LoginActivity;
import com.x52im.rainbowchat.utils.ToolKits;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
public class MallGlobalImpl extends MallGlobal {
public static final String DIR_OF_MALL_GOODS_PICS_URL_ROOT = "http://ddpdyw01.com:9000/ddoo_im/temp_for_mall/";
public static final String PAYPAL_BUSINESS_SELLER_MAIL = "jack.jiang@52im.net";
public static final String PAYPAL_EXPRESS_CHECK_OUT_ADDRESS = "https://www.paypal.com/cgi-bin/webscr";
public static final String PAYPAL_EXPRESS_CHECK_OUT_RETURN_URL = "http://ddpdyw01.com:9000/ddoo_im/paypal/result.jsp";
public MallGlobalImpl(String str) {
super(str, DIR_OF_MALL_GOODS_PICS_URL_ROOT);
}
@Override
public String getLoginedUserUid() {
if (MyApplication.getInstance2().getIMClientManager().getLocalUserInfo() != null) {
return MyApplication.getInstance2().getIMClientManager().getLocalUserInfo().getUser_uid();
}
return null;
}
@Override
public Map<String, String> getPayPalExpressCheckOutConfig() {
HashMap hashMap = new HashMap();
hashMap.put("__seller_acount__", "jack.jiang@52im.net");
hashMap.put("__express_check_out_url__", PAYPAL_EXPRESS_CHECK_OUT_ADDRESS);
hashMap.put("__express_check_out_return_url__", PAYPAL_EXPRESS_CHECK_OUT_RETURN_URL);
return hashMap;
}
@Override
public void doExit(Activity activity) {
LoginActivity.doLogout(activity, true, null);
}
@Override
public String getLoginedUserMail() {
if (MyApplication.getInstance2().getIMClientManager().getLocalUserInfo() != null) {
return MyApplication.getInstance2().getIMClientManager().getLocalUserInfo().getUser_mail();
}
return null;
}
@Override
public String getGoodPicsCachedDirPath() {
File defaultCacheDir = ToolKits.getDefaultCacheDir();
if (defaultCacheDir == null || !defaultCacheDir.exists()) {
return null;
}
return defaultCacheDir.getAbsolutePath() + Const.DIR_KCHAT_WORK_RELATIVE_ROOT + "/mall/";
}
}