|  | @@ -31,6 +31,8 @@ import com.cooleshow.teacher.widgets.helper.MineFragmentToolsHelper;
 | 
	
		
			
				|  |  |  import com.cooleshow.usercenter.helper.UserHelper;
 | 
	
		
			
				|  |  |  import com.tbruyelle.rxpermissions3.RxPermissions;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +import java.util.ArrayList;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  import androidx.annotation.NonNull;
 | 
	
		
			
				|  |  |  import androidx.recyclerview.widget.GridLayoutManager;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -87,7 +89,6 @@ public class MineFragment extends BaseMVPFragment<FragmentMineLayoutBinding, Min
 | 
	
		
			
				|  |  |          GridLayoutManager gridLayoutManager = new GridLayoutManager(getContext(), 4);
 | 
	
		
			
				|  |  |          mViewBinding.recyclerViewTools.setLayoutManager(gridLayoutManager);
 | 
	
		
			
				|  |  |          mViewBinding.recyclerViewTools.setAdapter(mMineCommonToolAdapter);
 | 
	
		
			
				|  |  | -        mMineCommonToolAdapter.setNewInstance(MineFragmentToolsHelper.getData(null));
 | 
	
		
			
				|  |  |          initListener();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -158,6 +159,12 @@ public class MineFragment extends BaseMVPFragment<FragmentMineLayoutBinding, Min
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |              mViewBinding.tvBankCardBindTip.setText("已绑定");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | +        //true限制用户 限制我的收入 酷乐秀推广计划等
 | 
	
		
			
				|  |  | +        mViewBinding.tvMyAccount.setVisibility(teacherUserInfo.isTestUser ? View.GONE : View.VISIBLE);
 | 
	
		
			
				|  |  | +        if (mMineCommonToolAdapter != null) {
 | 
	
		
			
				|  |  | +            ArrayList<MineToolMenuBean> toolsData = MineFragmentToolsHelper.getData(teacherUserInfo.isTestUser ? MineFragmentToolsHelper.TYPE_MINE_INCOME : null);
 | 
	
		
			
				|  |  | +            mMineCommonToolAdapter.setNewInstance(toolsData);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      private void updateCertStatusUI(int degreeFlag, int teacherFlag) {
 |