@request(url = config.TALARIS_URL + '/head/team/config/change_team',method='post',data_type='form')
def test_head_change_team(self,team_id):
    """
    切换团队
    """
    body = {
        'team_id': team_id
    }

@request(url = config.STARGATE_URL + '/head_api/process',data_type='form',method='post')
def test_head_process(self, dealRemark, headApplyId, reassignedTakerId, status, teamId, trackingId):
    """
    申请异常流程
    :param dealRemark:
    :param headApplyId:
    :param reassignedTakerId:
    :param status:
    :param teamId:
    :param trackingId:
    :return:
    """

    params= {
        'dealRemark': dealRemark,
        'headApplyId': headApplyId,
        'reassignedTakerId': reassignedTakerId,
        'status': status,
        'teamId': teamId,
        'trackingId': trackingId
    }
    body = json.dumps(params)
@request(url = config.TALARIS_URL + '/web/subgroup/update_status',method='get',data_type='form')
def test_group_status(self,groupId,status):
    """
    更新分组状态
    :param groupId:
    :param status:
    :return:
    """
    params = {
        'groupId': groupId,
        'status': status
    }


↙↙↙阅读原文可查看相关链接,并与作者交流