|
|
@@ -221,12 +221,12 @@ public class AutoErpSigninUitl implements HttpHandler.OnResultListener {
|
|
|
if (isB2b) {
|
|
|
form.put("enuu", CommonUtil.getSharedPreferences(MyApplication.getInstance().getApplicationContext(), "companyEnUu"));
|
|
|
form.put("emcode", CommonUtil.getSharedPreferences(MyApplication.getInstance().getApplicationContext(), "b2b_uu"));
|
|
|
- }
|
|
|
+ } else
|
|
|
+ param.put("caller", "CardLog");
|
|
|
+
|
|
|
String formStore = StringUtils.mapToJson(form);
|
|
|
param.put("formStore", formStore);
|
|
|
param.put("emcode", getSharedPreferences(ct, "erp_username"));
|
|
|
- if (!isB2b)
|
|
|
- param.put("caller", "CardLog");
|
|
|
if (isB2b) {
|
|
|
String url = ApiConfig.getInstance(ApiUtils.getApiModel()).getmApiBase().punch_worksignin_url;
|
|
|
HttpHandler.getInstance().loadB2BByNet(SIGNING, url, param, bunder, this);
|