Browse Source

提交类型 编写功能
提交内容 编写客户模块功能,添加选择IP地址功能

Bitliker 7 years ago
parent
commit
09850224e3

+ 1 - 1
app_modular/appworks/src/main/java/com/uas/appworks/crm3_0/activity/CustomerVisitActivity.java

@@ -170,7 +170,7 @@ public class CustomerVisitActivity extends BaseActivity {
             mUUHttpHelper.requestCompanyHttp(new Parameter.Builder()
                     .mode(Method.GET)
                     .addParams("dataTime", month)
-                    .addParams("salesmanCode", BaseConfig.isDebug() ? "zhouy" : CommonUtil.getEmcode())
+                    .addParams("salesmanCode",  CommonUtil.getEmcode())
                     .addParams("flag", isOther ? 1 : 0)
                     .addTag(TAG_DATE, monthInt)
                     .record(LOAD_DATA)

+ 1 - 1
app_modular/appworks/src/main/java/com/uas/appworks/presenter/CustomerDetailsPresenter.java

@@ -88,7 +88,7 @@ public class CustomerDetailsPresenter extends BaseNetPresenter {
         iCustomerDetails.showLoading();
         requestCompanyHttp(new Parameter.Builder()
                         .url("mobile/crm/customerRelationDetails.action")
-                        .addParams("customerId", 51874)
+                        .addParams("customerId", mId)
                         .record(LOAD_RELATION_DETAILS)
                 , mOnSmartHttpListener);
         try {