接口配置解码
This commit is contained in:
@@ -46,6 +46,7 @@ import com.yunbao.common.manager.IMLoginManager;
|
||||
import com.yunbao.common.manager.NoviceInstructorManager;
|
||||
import com.yunbao.common.manager.imrongcloud.RongcloudIMManager;
|
||||
import com.yunbao.common.utils.DialogUitl;
|
||||
import com.yunbao.common.utils.L;
|
||||
import com.yunbao.common.utils.RouteUtil;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
import com.yunbao.common.http.LiveHttpUtil;
|
||||
@@ -240,7 +241,8 @@ public class RegisterActivity extends AbsActivity {
|
||||
webSettings.setJavaScriptEnabled(true);
|
||||
webview.addJavascriptInterface(new JsBridge(), "jsBridge");
|
||||
// 也可以加载本地html(webView.loadUrl("file:///android_asset/xxx.html"))
|
||||
webview.loadUrl(CommonAppConfig.HOST + "/h5/live/TCaptcha.html" + "?isZh=" + (WordUtil.isNewZh() ? "1" : 0));
|
||||
webview.loadUrl(CommonAppConfig.HOST + "/TCaptcha.html" + "?isZh=" + (WordUtil.isNewZh() ? "1" : 0));
|
||||
L.e(CommonAppConfig.HOST + "/h5/live/TCaptcha.html" + "?isZh=" + (WordUtil.isNewZh() ? "1" : 0));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -314,7 +314,7 @@ public class MainHttpUtil {
|
||||
* 获取用户钱
|
||||
*/
|
||||
public static void getBalance(HttpCallback callback) {
|
||||
HttpClient.getInstance().get("huoquyonghuyue", "huoquyonghuyue")
|
||||
HttpClient.getInstance().get("chaxunyonghuyue", "chaxunyonghuyue")
|
||||
.execute(callback);
|
||||
}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@ public class MainHomeViewHolder extends AbsMainHomeParentViewHolder {
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O) {
|
||||
decodedData = Base64.getDecoder().decode(aesStr);
|
||||
}
|
||||
String decryptedText = AesUtils.decryptToString(decodedData, "LhHBfcsN2VmBpHCn".getBytes(), "UTF-8");
|
||||
String decryptedText = AesUtils.decryptToString(decodedData);
|
||||
L.e("decryptedText:"+decryptedText);
|
||||
}
|
||||
public void setCurPosition(int position) {
|
||||
|
||||
Reference in New Issue
Block a user