Commit 6030444d by Wyh

去掉供應鏈默認餐廳ID

parent 41a1858b
...@@ -69,13 +69,13 @@ public class Constant { ...@@ -69,13 +69,13 @@ public class Constant {
public static final String DELETE_FAIL = "刪除失敗,請稍後重試"; public static final String DELETE_FAIL = "刪除失敗,請稍後重試";
public static int getBrandId() { public static int getBrandId() {
// return RestaurantInfoManager.newInstance().getBrandId(); return RestaurantInfoManager.newInstance().getBrandId();
return BuildConfig.DEBUG ? 1 : RestaurantInfoManager.newInstance().getBrandId(); // return BuildConfig.DEBUG ? 1 : RestaurantInfoManager.newInstance().getBrandId();
} }
public static int getRestaurantId() { public static int getRestaurantId() {
// return RestaurantInfoManager.newInstance().getRestaurantId(); return RestaurantInfoManager.newInstance().getRestaurantId();
return BuildConfig.DEBUG ? 26 : RestaurantInfoManager.newInstance().getRestaurantId(); // return BuildConfig.DEBUG ? 26 : RestaurantInfoManager.newInstance().getRestaurantId();
} }
public static void addBrandId(@NonNull Map<String, Object> map) { public static void addBrandId(@NonNull Map<String, Object> map) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment