|  |  | @@ -555,8 +555,11 @@ def consumer_shot_unbinding(request): | 
            
            
              | 555 | 555 |      exist = ConsumeInfoSubmitLogInfo.objects.filter(user_id=user_id, model_id=model_id, serialNo=sn, dupload=False, test_user=False).exists() | 
            
            
              | 556 | 556 |   | 
            
            
              | 557 | 557 |      if exist: | 
            
            
              |  | 558 | +        unbound = ConsumeInfoSubmitLogInfo.objects.filter(user_id=user_id, model_id=model_id, serialNo=sn, dupload=False, test_user=False, unbound=True).exists() | 
            
            
              |  | 559 | + | 
            
            
              | 558 | 560 |          ConsumeInfoSubmitLogInfo.objects.filter(model_id=model_id, serialNo=sn).update(delete_type=ConsumeInfoSubmitLogInfo.UNBINDING, status=False) | 
            
            
              | 559 |  | -        if user.shots_num <= 5: | 
            
            
              |  | 561 | + | 
            
            
              |  | 562 | +        if not unbound and user.shots_num <= 5: | 
            
            
              | 560 | 563 |              user.level -= 1 | 
            
            
              | 561 | 564 |          user.shots_num -= 1 | 
            
            
              | 562 | 565 |          user.save() |