|
|
@@ -268,13 +268,11 @@ public class MobileAuthPresenter implements IMobileAuthContract.Presenter {
|
|
|
*/
|
|
|
public void onFirstMobileCompanySelectChanged(String mobileCompany) {
|
|
|
List<String> list = new ArrayList<>(Arrays.asList(ResourceUtil.getStringArray("mobile_companies")));
|
|
|
+ List<String> codes = new ArrayList<>(Arrays.asList(ResourceUtil.getStringArray("mobile_companies_code")));
|
|
|
|
|
|
int index = list.indexOf(mobileCompany);
|
|
|
- if (index > 3) {
|
|
|
- // 1,2,3, 5,6,7 => 4가 없음
|
|
|
- ++index;
|
|
|
- }
|
|
|
- userBean.setMobileCompany(String.valueOf(index + 1));
|
|
|
+ // 1,2,3, 5,6,7 => 4가 없음
|
|
|
+ userBean.setMobileCompany(codes.get(index));
|
|
|
}
|
|
|
|
|
|
/**
|