diff --git a/.DS_Store b/.DS_Store index 7ac57f6..bb896ee 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/app.zip b/app.zip new file mode 100644 index 0000000..7953381 Binary files /dev/null and b/app.zip differ diff --git a/app/api/endpoints/users.py b/app/api/endpoints/users.py index 039cb84..051c725 100644 --- a/app/api/endpoints/users.py +++ b/app/api/endpoints/users.py @@ -1,6 +1,6 @@ from fastapi import APIRouter, HTTPException, Depends -from app.models.models import UserInfo, PasswordChangeRequest, UserListResponse, CreateUserRequest, UpdateUserRequest +from app.models.models import UserInfo, PasswordChangeRequest, UserListResponse, CreateUserRequest, UpdateUserRequest, RoleInfo from app.core.database import get_db_connection from app.core.auth import get_current_user from app.core.config import DEFAULT_RESET_PASSWORD @@ -18,6 +18,18 @@ def validate_email(email: str) -> bool: def hash_password(password: str) -> str: return hashlib.sha256(password.encode()).hexdigest() +@router.get("/roles") +def get_all_roles(current_user: dict = Depends(get_current_user)): + """获取所有角色列表""" + if current_user['role_id'] != 1: # 1 is admin + raise HTTPException(status_code=403, detail="仅管理员有权限查看角色列表") + + with get_db_connection() as connection: + cursor = connection.cursor(dictionary=True) + cursor.execute("SELECT role_id, role_name FROM roles ORDER BY role_id") + roles = cursor.fetchall() + return [RoleInfo(**role) for role in roles] + @router.post("/users", status_code=201) def create_user(request: CreateUserRequest, current_user: dict = Depends(get_current_user)): if current_user['role_id'] != 1: # 1 is admin @@ -85,7 +97,12 @@ def update_user(user_id: int, request: UpdateUserRequest, current_user: dict = D connection.commit() # Return updated user info - cursor.execute("SELECT user_id, username, caption, email, created_at FROM users WHERE user_id = %s", (user_id,)) + cursor.execute(''' + SELECT u.user_id, u.username, u.caption, u.email, u.created_at, u.role_id, r.role_name + FROM users u + LEFT JOIN roles r ON u.role_id = r.role_id + WHERE u.user_id = %s + ''', (user_id,)) updated_user = cursor.fetchone() return UserInfo( @@ -94,6 +111,8 @@ def update_user(user_id: int, request: UpdateUserRequest, current_user: dict = D caption=updated_user['caption'], email=updated_user['email'], created_at=updated_user['created_at'], + role_id=updated_user['role_id'], + role_name=updated_user['role_name'], meetings_created=0, # This is not accurate, but it is not displayed in the list meetings_attended=0 ) @@ -149,15 +168,17 @@ def get_all_users(page: int = 1, size: int = 10, current_user: dict = Depends(ge cursor.execute("SELECT COUNT(*) as total FROM users") total = cursor.fetchone()['total'] - # Get paginated users + # Get paginated users with role names offset = (page - 1) * size query = ''' SELECT - user_id, username, caption, email, created_at, + u.user_id, u.username, u.caption, u.email, u.created_at, u.role_id, + r.role_name, (SELECT COUNT(*) FROM meetings WHERE user_id = u.user_id) as meetings_created, (SELECT COUNT(*) FROM attendees WHERE user_id = u.user_id) as meetings_attended FROM users u - ORDER BY user_id ASC + LEFT JOIN roles r ON u.role_id = r.role_id + ORDER BY u.user_id ASC LIMIT %s OFFSET %s ''' cursor.execute(query, (size, offset)) @@ -172,7 +193,12 @@ def get_user_info(user_id: int, current_user: dict = Depends(get_current_user)): with get_db_connection() as connection: cursor = connection.cursor(dictionary=True) - user_query = "SELECT user_id, username, caption, email, created_at FROM users WHERE user_id = %s" + user_query = ''' + SELECT u.user_id, u.username, u.caption, u.email, u.created_at, u.role_id, r.role_name + FROM users u + LEFT JOIN roles r ON u.role_id = r.role_id + WHERE u.user_id = %s + ''' cursor.execute(user_query, (user_id,)) user = cursor.fetchone() @@ -193,6 +219,8 @@ def get_user_info(user_id: int, current_user: dict = Depends(get_current_user)): caption=user['caption'], email=user['email'], created_at=user['created_at'], + role_id=user['role_id'], + role_name=user['role_name'], meetings_created=meetings_created, meetings_attended=meetings_attended ) diff --git a/app/models/models.py b/app/models/models.py index b1ff5bd..5a2a808 100644 --- a/app/models/models.py +++ b/app/models/models.py @@ -15,6 +15,10 @@ class LoginResponse(BaseModel): token: str role_id: int +class RoleInfo(BaseModel): + role_id: int + role_name: str + class UserInfo(BaseModel): user_id: int username: str @@ -23,6 +27,8 @@ class UserInfo(BaseModel): created_at: datetime.datetime meetings_created: int meetings_attended: int + role_id: int + role_name: str class UserListResponse(BaseModel): users: list[UserInfo] diff --git a/uploads/.DS_Store b/uploads/.DS_Store deleted file mode 100644 index 7648401..0000000 Binary files a/uploads/.DS_Store and /dev/null differ diff --git a/uploads/audio/.DS_Store b/uploads/audio/.DS_Store deleted file mode 100644 index a5172d4..0000000 Binary files a/uploads/audio/.DS_Store and /dev/null differ diff --git a/uploads/audio/40/f096d381-e80d-4768-996a-c0359a921563.m4a b/uploads/audio/40/f096d381-e80d-4768-996a-c0359a921563.m4a deleted file mode 100644 index 8b0f76a..0000000 Binary files a/uploads/audio/40/f096d381-e80d-4768-996a-c0359a921563.m4a and /dev/null differ diff --git a/uploads/audio/44/d50d769d-a65d-4f9f-830a-e97e8c56e04b.m4a b/uploads/audio/44/d50d769d-a65d-4f9f-830a-e97e8c56e04b.m4a deleted file mode 100644 index 1b8c736..0000000 Binary files a/uploads/audio/44/d50d769d-a65d-4f9f-830a-e97e8c56e04b.m4a and /dev/null differ diff --git a/uploads/audio/6/a8eb6acd-52e6-4895-b608-d73aba66393c.mp3 b/uploads/audio/6/a8eb6acd-52e6-4895-b608-d73aba66393c.mp3 deleted file mode 100644 index 0fd96c9..0000000 Binary files a/uploads/audio/6/a8eb6acd-52e6-4895-b608-d73aba66393c.mp3 and /dev/null differ diff --git a/uploads/markdown/.DS_Store b/uploads/markdown/.DS_Store deleted file mode 100644 index 981f715..0000000 Binary files a/uploads/markdown/.DS_Store and /dev/null differ diff --git a/uploads/markdown/13/1125df5d-1532-4ef5-a5eb-627d2f99156d.jpg b/uploads/markdown/13/1125df5d-1532-4ef5-a5eb-627d2f99156d.jpg deleted file mode 100644 index bad02a8..0000000 Binary files a/uploads/markdown/13/1125df5d-1532-4ef5-a5eb-627d2f99156d.jpg and /dev/null differ diff --git a/uploads/markdown/14/6ca04747-537b-463d-be6a-a60f3109e67e.png b/uploads/markdown/14/6ca04747-537b-463d-be6a-a60f3109e67e.png deleted file mode 100644 index 6c0b6da..0000000 Binary files a/uploads/markdown/14/6ca04747-537b-463d-be6a-a60f3109e67e.png and /dev/null differ diff --git a/uploads/markdown/30/bc30d102-8363-458e-aa69-23ff9913857d.jpg b/uploads/markdown/30/bc30d102-8363-458e-aa69-23ff9913857d.jpg deleted file mode 100644 index 486797f..0000000 Binary files a/uploads/markdown/30/bc30d102-8363-458e-aa69-23ff9913857d.jpg and /dev/null differ diff --git a/uploads/markdown/35/ecd759af-037a-4d75-9cd5-f89a86feac3a.png b/uploads/markdown/35/ecd759af-037a-4d75-9cd5-f89a86feac3a.png deleted file mode 100644 index 61eaac8..0000000 Binary files a/uploads/markdown/35/ecd759af-037a-4d75-9cd5-f89a86feac3a.png and /dev/null differ diff --git a/uploads/markdown/35/f4e284d7-b3ec-48f2-86ca-c72aa21096cc.jpg b/uploads/markdown/35/f4e284d7-b3ec-48f2-86ca-c72aa21096cc.jpg deleted file mode 100644 index bc6cd9a..0000000 Binary files a/uploads/markdown/35/f4e284d7-b3ec-48f2-86ca-c72aa21096cc.jpg and /dev/null differ diff --git a/uploads/result.json b/uploads/result.json deleted file mode 100644 index 0788712..0000000 --- a/uploads/result.json +++ /dev/null @@ -1,1707 +0,0 @@ -{ - "file_url": "http://t0vogyxkz.hn-bkt.clouddn.com/records/meeting_records_1.mp3", - "properties": { - "audio_format": "mp3", - "channels": [ - 0, - 1 - ], - "original_sampling_rate": 44100, - "original_duration_in_milliseconds": 60000 - }, - "transcripts": [ - { - "channel_id": 0, - "content_duration_in_milliseconds": 57300, - "text": "卖了工时是吧?因为这项目消耗了哪些人的工时?嗯,因为你这个项目一出来,这项目比如说100个工时,对不对?嗯,那自然就是这项目的100工时消耗在哪人身上,是吧?这是第一个。第二,这一个人在时间段里是吧,这一个人在一个月之内他消他的工时消耗在哪些项目上。对,第三个是这十个人在这个一个月就总的这个这大坨工时消耗在哪些时间段里?嗯,呃现在可能就是你说的那第三个还没有找到一个比较好的表达方式。呃,第二个第二个你看第二个就是这个就是我们选择一个人啊,比如说我们选曹冲也可以哈,然后呢这个就是在在这个时间段里,对吧?比如说他一个月或或者一个月嘛,或者一个月到31号、29号,你看这就可以看。出长春这。两天没,不好意思。", - "sentences": [ - { - "begin_time": 0, - "end_time": 1152, - "text": "卖了工时是吧?", - "sentence_id": 1, - "speaker_id": 0, - "words": [ - { - "begin_time": 0, - "end_time": 192, - "text": "卖", - "punctuation": "" - }, - { - "begin_time": 192, - "end_time": 384, - "text": "了", - "punctuation": "" - }, - { - "begin_time": 384, - "end_time": 576, - "text": "工", - "punctuation": "" - }, - { - "begin_time": 576, - "end_time": 768, - "text": "时", - "punctuation": "" - }, - { - "begin_time": 768, - "end_time": 960, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 960, - "end_time": 1152, - "text": "吧", - "punctuation": "?" - } - ] - }, - { - "begin_time": 1152, - "end_time": 3840, - "text": "因为这项目消耗了哪些人的工时?", - "sentence_id": 2, - "speaker_id": 0, - "words": [ - { - "begin_time": 1152, - "end_time": 1344, - "text": "因", - "punctuation": "" - }, - { - "begin_time": 1344, - "end_time": 1536, - "text": "为", - "punctuation": "" - }, - { - "begin_time": 1536, - "end_time": 1728, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 1728, - "end_time": 1920, - "text": "项", - "punctuation": "" - }, - { - "begin_time": 1920, - "end_time": 2112, - "text": "目", - "punctuation": "" - }, - { - "begin_time": 2112, - "end_time": 2304, - "text": "消", - "punctuation": "" - }, - { - "begin_time": 2304, - "end_time": 2496, - "text": "耗", - "punctuation": "" - }, - { - "begin_time": 2496, - "end_time": 2688, - "text": "了", - "punctuation": "" - }, - { - "begin_time": 2688, - "end_time": 2880, - "text": "哪", - "punctuation": "" - }, - { - "begin_time": 2880, - "end_time": 3072, - "text": "些", - "punctuation": "" - }, - { - "begin_time": 3072, - "end_time": 3264, - "text": "人", - "punctuation": "" - }, - { - "begin_time": 3264, - "end_time": 3456, - "text": "的", - "punctuation": "" - }, - { - "begin_time": 3456, - "end_time": 3648, - "text": "工", - "punctuation": "" - }, - { - "begin_time": 3648, - "end_time": 3840, - "text": "时", - "punctuation": "?" - } - ] - }, - { - "begin_time": 3840, - "end_time": 8640, - "text": "嗯,因为你这个项目一出来,这项目比如说100个工时,对不对?", - "sentence_id": 3, - "speaker_id": 0, - "words": [ - { - "begin_time": 3840, - "end_time": 4032, - "text": "嗯", - "punctuation": "," - }, - { - "begin_time": 4032, - "end_time": 4224, - "text": "因", - "punctuation": "" - }, - { - "begin_time": 4224, - "end_time": 4416, - "text": "为", - "punctuation": "" - }, - { - "begin_time": 4416, - "end_time": 4608, - "text": "你", - "punctuation": "" - }, - { - "begin_time": 4608, - "end_time": 4800, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 4800, - "end_time": 4992, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 4992, - "end_time": 5184, - "text": "项", - "punctuation": "" - }, - { - "begin_time": 5184, - "end_time": 5376, - "text": "目", - "punctuation": "" - }, - { - "begin_time": 5376, - "end_time": 5568, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 5568, - "end_time": 5760, - "text": "出", - "punctuation": "" - }, - { - "begin_time": 5760, - "end_time": 5952, - "text": "来", - "punctuation": "," - }, - { - "begin_time": 5952, - "end_time": 6144, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 6144, - "end_time": 6336, - "text": "项", - "punctuation": "" - }, - { - "begin_time": 6336, - "end_time": 6528, - "text": "目", - "punctuation": "" - }, - { - "begin_time": 6528, - "end_time": 6720, - "text": "比", - "punctuation": "" - }, - { - "begin_time": 6720, - "end_time": 6912, - "text": "如", - "punctuation": "" - }, - { - "begin_time": 6912, - "end_time": 7104, - "text": "说", - "punctuation": "" - }, - { - "begin_time": 7104, - "end_time": 7872, - "text": "100个工", - "punctuation": "" - }, - { - "begin_time": 7872, - "end_time": 8064, - "text": "时", - "punctuation": "," - }, - { - "begin_time": 8064, - "end_time": 8256, - "text": "对", - "punctuation": "" - }, - { - "begin_time": 8256, - "end_time": 8448, - "text": "不", - "punctuation": "" - }, - { - "begin_time": 8448, - "end_time": 8640, - "text": "对", - "punctuation": "?" - } - ] - }, - { - "begin_time": 8640, - "end_time": 13056, - "text": "嗯,那自然就是这项目的100工时消耗在哪人身上,是吧?", - "sentence_id": 4, - "speaker_id": 0, - "words": [ - { - "begin_time": 8640, - "end_time": 8832, - "text": "嗯", - "punctuation": "," - }, - { - "begin_time": 8832, - "end_time": 9024, - "text": "那", - "punctuation": "" - }, - { - "begin_time": 9024, - "end_time": 9216, - "text": "自", - "punctuation": "" - }, - { - "begin_time": 9216, - "end_time": 9408, - "text": "然", - "punctuation": "" - }, - { - "begin_time": 9408, - "end_time": 9600, - "text": "就", - "punctuation": "" - }, - { - "begin_time": 9600, - "end_time": 9792, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 9792, - "end_time": 9984, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 9984, - "end_time": 10176, - "text": "项", - "punctuation": "" - }, - { - "begin_time": 10176, - "end_time": 10368, - "text": "目", - "punctuation": "" - }, - { - "begin_time": 10368, - "end_time": 10560, - "text": "的", - "punctuation": "" - }, - { - "begin_time": 10560, - "end_time": 11328, - "text": "100工时", - "punctuation": "" - }, - { - "begin_time": 11328, - "end_time": 11520, - "text": "消", - "punctuation": "" - }, - { - "begin_time": 11520, - "end_time": 11712, - "text": "耗", - "punctuation": "" - }, - { - "begin_time": 11712, - "end_time": 11904, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 11904, - "end_time": 12096, - "text": "哪", - "punctuation": "" - }, - { - "begin_time": 12096, - "end_time": 12288, - "text": "人", - "punctuation": "" - }, - { - "begin_time": 12288, - "end_time": 12480, - "text": "身", - "punctuation": "" - }, - { - "begin_time": 12480, - "end_time": 12672, - "text": "上", - "punctuation": "," - }, - { - "begin_time": 12672, - "end_time": 12864, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 12864, - "end_time": 13056, - "text": "吧", - "punctuation": "?" - } - ] - }, - { - "begin_time": 13056, - "end_time": 14016, - "text": "这是第一个。", - "sentence_id": 5, - "speaker_id": 0, - "words": [ - { - "begin_time": 13056, - "end_time": 13248, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 13248, - "end_time": 13440, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 13440, - "end_time": 13632, - "text": "第", - "punctuation": "" - }, - { - "begin_time": 13632, - "end_time": 13824, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 13824, - "end_time": 14016, - "text": "个", - "punctuation": "。" - } - ] - }, - { - "begin_time": 14016, - "end_time": 21120, - "text": "第二,这一个人在时间段里是吧,这一个人在一个月之内他消他的工时消耗在哪些项目上。", - "sentence_id": 6, - "speaker_id": 0, - "words": [ - { - "begin_time": 14016, - "end_time": 14208, - "text": "第", - "punctuation": "" - }, - { - "begin_time": 14208, - "end_time": 14400, - "text": "二", - "punctuation": "," - }, - { - "begin_time": 14400, - "end_time": 14592, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 14592, - "end_time": 14784, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 14784, - "end_time": 14976, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 14976, - "end_time": 15168, - "text": "人", - "punctuation": "" - }, - { - "begin_time": 15168, - "end_time": 15360, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 15360, - "end_time": 15552, - "text": "时", - "punctuation": "" - }, - { - "begin_time": 15552, - "end_time": 15744, - "text": "间", - "punctuation": "" - }, - { - "begin_time": 15744, - "end_time": 15936, - "text": "段", - "punctuation": "" - }, - { - "begin_time": 15936, - "end_time": 16128, - "text": "里", - "punctuation": "" - }, - { - "begin_time": 16128, - "end_time": 16320, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 16320, - "end_time": 16512, - "text": "吧", - "punctuation": "," - }, - { - "begin_time": 16512, - "end_time": 16704, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 16704, - "end_time": 16896, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 16896, - "end_time": 17088, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 17088, - "end_time": 17280, - "text": "人", - "punctuation": "" - }, - { - "begin_time": 17280, - "end_time": 17472, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 17472, - "end_time": 17664, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 17664, - "end_time": 17856, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 17856, - "end_time": 18048, - "text": "月", - "punctuation": "" - }, - { - "begin_time": 18048, - "end_time": 18240, - "text": "之", - "punctuation": "" - }, - { - "begin_time": 18240, - "end_time": 18432, - "text": "内", - "punctuation": "" - }, - { - "begin_time": 18432, - "end_time": 18624, - "text": "他", - "punctuation": "" - }, - { - "begin_time": 18624, - "end_time": 18816, - "text": "消", - "punctuation": "" - }, - { - "begin_time": 18816, - "end_time": 19008, - "text": "他", - "punctuation": "" - }, - { - "begin_time": 19008, - "end_time": 19200, - "text": "的", - "punctuation": "" - }, - { - "begin_time": 19200, - "end_time": 19392, - "text": "工", - "punctuation": "" - }, - { - "begin_time": 19392, - "end_time": 19584, - "text": "时", - "punctuation": "" - }, - { - "begin_time": 19584, - "end_time": 19776, - "text": "消", - "punctuation": "" - }, - { - "begin_time": 19776, - "end_time": 19968, - "text": "耗", - "punctuation": "" - }, - { - "begin_time": 19968, - "end_time": 20160, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 20160, - "end_time": 20352, - "text": "哪", - "punctuation": "" - }, - { - "begin_time": 20352, - "end_time": 20544, - "text": "些", - "punctuation": "" - }, - { - "begin_time": 20544, - "end_time": 20736, - "text": "项", - "punctuation": "" - }, - { - "begin_time": 20736, - "end_time": 20928, - "text": "目", - "punctuation": "" - }, - { - "begin_time": 20928, - "end_time": 21120, - "text": "上", - "punctuation": "。" - } - ] - }, - { - "begin_time": 21120, - "end_time": 27755, - "text": "对,第三个是这十个人在这个一个月就总的这个这大坨工时消耗在哪些时间段里?", - "sentence_id": 7, - "speaker_id": 0, - "words": [ - { - "begin_time": 21120, - "end_time": 21312, - "text": "对", - "punctuation": "," - }, - { - "begin_time": 21312, - "end_time": 21504, - "text": "第", - "punctuation": "" - }, - { - "begin_time": 21504, - "end_time": 21696, - "text": "三", - "punctuation": "" - }, - { - "begin_time": 21696, - "end_time": 21888, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 21888, - "end_time": 22080, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 22080, - "end_time": 22272, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 22272, - "end_time": 22464, - "text": "十", - "punctuation": "" - }, - { - "begin_time": 22464, - "end_time": 22656, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 22656, - "end_time": 22848, - "text": "人", - "punctuation": "" - }, - { - "begin_time": 22848, - "end_time": 23040, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 23040, - "end_time": 23232, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 23232, - "end_time": 23424, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 23424, - "end_time": 23616, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 23616, - "end_time": 23808, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 23808, - "end_time": 24000, - "text": "月", - "punctuation": "" - }, - { - "begin_time": 24000, - "end_time": 24192, - "text": "就", - "punctuation": "" - }, - { - "begin_time": 24192, - "end_time": 24384, - "text": "总", - "punctuation": "" - }, - { - "begin_time": 24384, - "end_time": 24576, - "text": "的", - "punctuation": "" - }, - { - "begin_time": 24576, - "end_time": 24768, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 24768, - "end_time": 24960, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 24960, - "end_time": 25152, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 25152, - "end_time": 25344, - "text": "大", - "punctuation": "" - }, - { - "begin_time": 25344, - "end_time": 25536, - "text": "坨", - "punctuation": "" - }, - { - "begin_time": 25536, - "end_time": 25728, - "text": "工", - "punctuation": "" - }, - { - "begin_time": 25728, - "end_time": 25920, - "text": "时", - "punctuation": "" - }, - { - "begin_time": 25920, - "end_time": 26123, - "text": "消", - "punctuation": "" - }, - { - "begin_time": 26123, - "end_time": 26327, - "text": "耗", - "punctuation": "" - }, - { - "begin_time": 26327, - "end_time": 26531, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 26531, - "end_time": 26735, - "text": "哪", - "punctuation": "" - }, - { - "begin_time": 26735, - "end_time": 26939, - "text": "些", - "punctuation": "" - }, - { - "begin_time": 26939, - "end_time": 27143, - "text": "时", - "punctuation": "" - }, - { - "begin_time": 27143, - "end_time": 27347, - "text": "间", - "punctuation": "" - }, - { - "begin_time": 27347, - "end_time": 27551, - "text": "段", - "punctuation": "" - }, - { - "begin_time": 27551, - "end_time": 27755, - "text": "里", - "punctuation": "?" - } - ] - }, - { - "begin_time": 27755, - "end_time": 33871, - "text": "嗯,呃现在可能就是你说的那第三个还没有找到一个比较好的表达方式。", - "sentence_id": 8, - "speaker_id": 1, - "words": [ - { - "begin_time": 27755, - "end_time": 27958, - "text": "嗯", - "punctuation": "," - }, - { - "begin_time": 27958, - "end_time": 28162, - "text": "呃", - "punctuation": "" - }, - { - "begin_time": 28162, - "end_time": 28366, - "text": "现", - "punctuation": "" - }, - { - "begin_time": 28366, - "end_time": 28570, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 28570, - "end_time": 28774, - "text": "可", - "punctuation": "" - }, - { - "begin_time": 28774, - "end_time": 28978, - "text": "能", - "punctuation": "" - }, - { - "begin_time": 28978, - "end_time": 29182, - "text": "就", - "punctuation": "" - }, - { - "begin_time": 29182, - "end_time": 29386, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 29386, - "end_time": 29590, - "text": "你", - "punctuation": "" - }, - { - "begin_time": 29590, - "end_time": 29793, - "text": "说", - "punctuation": "" - }, - { - "begin_time": 29793, - "end_time": 29997, - "text": "的", - "punctuation": "" - }, - { - "begin_time": 29997, - "end_time": 30201, - "text": "那", - "punctuation": "" - }, - { - "begin_time": 30201, - "end_time": 30405, - "text": "第", - "punctuation": "" - }, - { - "begin_time": 30405, - "end_time": 30609, - "text": "三", - "punctuation": "" - }, - { - "begin_time": 30609, - "end_time": 30813, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 30813, - "end_time": 31017, - "text": "还", - "punctuation": "" - }, - { - "begin_time": 31017, - "end_time": 31221, - "text": "没", - "punctuation": "" - }, - { - "begin_time": 31221, - "end_time": 31425, - "text": "有", - "punctuation": "" - }, - { - "begin_time": 31425, - "end_time": 31628, - "text": "找", - "punctuation": "" - }, - { - "begin_time": 31628, - "end_time": 31832, - "text": "到", - "punctuation": "" - }, - { - "begin_time": 31832, - "end_time": 32036, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 32036, - "end_time": 32240, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 32240, - "end_time": 32444, - "text": "比", - "punctuation": "" - }, - { - "begin_time": 32444, - "end_time": 32648, - "text": "较", - "punctuation": "" - }, - { - "begin_time": 32648, - "end_time": 32852, - "text": "好", - "punctuation": "" - }, - { - "begin_time": 32852, - "end_time": 33056, - "text": "的", - "punctuation": "" - }, - { - "begin_time": 33056, - "end_time": 33260, - "text": "表", - "punctuation": "" - }, - { - "begin_time": 33260, - "end_time": 33463, - "text": "达", - "punctuation": "" - }, - { - "begin_time": 33463, - "end_time": 33667, - "text": "方", - "punctuation": "" - }, - { - "begin_time": 33667, - "end_time": 33871, - "text": "式", - "punctuation": "。" - } - ] - }, - { - "begin_time": 33871, - "end_time": 45085, - "text": "呃,第二个第二个你看第二个就是这个就是我们选择一个人啊,比如说我们选曹冲也可以哈,然后呢这个就是在在这个时间段里,对吧?", - "sentence_id": 9, - "speaker_id": 1, - "words": [ - { - "begin_time": 33871, - "end_time": 34075, - "text": "呃", - "punctuation": "," - }, - { - "begin_time": 34075, - "end_time": 34279, - "text": "第", - "punctuation": "" - }, - { - "begin_time": 34279, - "end_time": 34483, - "text": "二", - "punctuation": "" - }, - { - "begin_time": 34483, - "end_time": 34687, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 34687, - "end_time": 34891, - "text": "第", - "punctuation": "" - }, - { - "begin_time": 34891, - "end_time": 35095, - "text": "二", - "punctuation": "" - }, - { - "begin_time": 35095, - "end_time": 35298, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 35298, - "end_time": 35502, - "text": "你", - "punctuation": "" - }, - { - "begin_time": 35502, - "end_time": 35706, - "text": "看", - "punctuation": "" - }, - { - "begin_time": 35706, - "end_time": 35910, - "text": "第", - "punctuation": "" - }, - { - "begin_time": 35910, - "end_time": 36114, - "text": "二", - "punctuation": "" - }, - { - "begin_time": 36114, - "end_time": 36318, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 36318, - "end_time": 36522, - "text": "就", - "punctuation": "" - }, - { - "begin_time": 36522, - "end_time": 36726, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 36726, - "end_time": 36930, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 36930, - "end_time": 37133, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 37133, - "end_time": 37337, - "text": "就", - "punctuation": "" - }, - { - "begin_time": 37337, - "end_time": 37541, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 37541, - "end_time": 37745, - "text": "我", - "punctuation": "" - }, - { - "begin_time": 37745, - "end_time": 37949, - "text": "们", - "punctuation": "" - }, - { - "begin_time": 37949, - "end_time": 38153, - "text": "选", - "punctuation": "" - }, - { - "begin_time": 38153, - "end_time": 38357, - "text": "择", - "punctuation": "" - }, - { - "begin_time": 38357, - "end_time": 38561, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 38561, - "end_time": 38765, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 38765, - "end_time": 38968, - "text": "人", - "punctuation": "" - }, - { - "begin_time": 38968, - "end_time": 39172, - "text": "啊", - "punctuation": "," - }, - { - "begin_time": 39172, - "end_time": 39376, - "text": "比", - "punctuation": "" - }, - { - "begin_time": 39376, - "end_time": 39580, - "text": "如", - "punctuation": "" - }, - { - "begin_time": 39580, - "end_time": 39784, - "text": "说", - "punctuation": "" - }, - { - "begin_time": 39784, - "end_time": 39988, - "text": "我", - "punctuation": "" - }, - { - "begin_time": 39988, - "end_time": 40192, - "text": "们", - "punctuation": "" - }, - { - "begin_time": 40192, - "end_time": 40396, - "text": "选", - "punctuation": "" - }, - { - "begin_time": 40396, - "end_time": 40600, - "text": "曹", - "punctuation": "" - }, - { - "begin_time": 40600, - "end_time": 40803, - "text": "冲", - "punctuation": "" - }, - { - "begin_time": 40803, - "end_time": 41007, - "text": "也", - "punctuation": "" - }, - { - "begin_time": 41007, - "end_time": 41211, - "text": "可", - "punctuation": "" - }, - { - "begin_time": 41211, - "end_time": 41415, - "text": "以", - "punctuation": "" - }, - { - "begin_time": 41415, - "end_time": 41619, - "text": "哈", - "punctuation": "," - }, - { - "begin_time": 41619, - "end_time": 41823, - "text": "然", - "punctuation": "" - }, - { - "begin_time": 41823, - "end_time": 42027, - "text": "后", - "punctuation": "" - }, - { - "begin_time": 42027, - "end_time": 42231, - "text": "呢", - "punctuation": "" - }, - { - "begin_time": 42231, - "end_time": 42435, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 42435, - "end_time": 42638, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 42638, - "end_time": 42842, - "text": "就", - "punctuation": "" - }, - { - "begin_time": 42842, - "end_time": 43046, - "text": "是", - "punctuation": "" - }, - { - "begin_time": 43046, - "end_time": 43250, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 43250, - "end_time": 43454, - "text": "在", - "punctuation": "" - }, - { - "begin_time": 43454, - "end_time": 43658, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 43658, - "end_time": 43862, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 43862, - "end_time": 44066, - "text": "时", - "punctuation": "" - }, - { - "begin_time": 44066, - "end_time": 44270, - "text": "间", - "punctuation": "" - }, - { - "begin_time": 44270, - "end_time": 44473, - "text": "段", - "punctuation": "" - }, - { - "begin_time": 44473, - "end_time": 44677, - "text": "里", - "punctuation": "," - }, - { - "begin_time": 44677, - "end_time": 44881, - "text": "对", - "punctuation": "" - }, - { - "begin_time": 44881, - "end_time": 45085, - "text": "吧", - "punctuation": "?" - } - ] - }, - { - "begin_time": 45085, - "end_time": 54247, - "text": "比如说他一个月或或者一个月嘛,或者一个月到31号、29号,你看这就可以看。", - "sentence_id": 10, - "speaker_id": 1, - "words": [ - { - "begin_time": 45085, - "end_time": 45289, - "text": "比", - "punctuation": "" - }, - { - "begin_time": 45289, - "end_time": 45493, - "text": "如", - "punctuation": "" - }, - { - "begin_time": 45493, - "end_time": 45697, - "text": "说", - "punctuation": "" - }, - { - "begin_time": 45697, - "end_time": 45901, - "text": "他", - "punctuation": "" - }, - { - "begin_time": 45901, - "end_time": 46105, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 46105, - "end_time": 46308, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 46308, - "end_time": 46512, - "text": "月", - "punctuation": "" - }, - { - "begin_time": 46512, - "end_time": 46716, - "text": "或", - "punctuation": "" - }, - { - "begin_time": 46716, - "end_time": 46920, - "text": "或", - "punctuation": "" - }, - { - "begin_time": 46920, - "end_time": 47124, - "text": "者", - "punctuation": "" - }, - { - "begin_time": 47124, - "end_time": 47328, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 47328, - "end_time": 47532, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 47532, - "end_time": 47736, - "text": "月", - "punctuation": "" - }, - { - "begin_time": 47736, - "end_time": 47940, - "text": "嘛", - "punctuation": "," - }, - { - "begin_time": 48420, - "end_time": 48697, - "text": "或", - "punctuation": "" - }, - { - "begin_time": 48697, - "end_time": 48975, - "text": "者", - "punctuation": "" - }, - { - "begin_time": 48975, - "end_time": 49252, - "text": "一", - "punctuation": "" - }, - { - "begin_time": 49252, - "end_time": 49530, - "text": "个", - "punctuation": "" - }, - { - "begin_time": 49530, - "end_time": 49807, - "text": "月", - "punctuation": "" - }, - { - "begin_time": 49807, - "end_time": 50085, - "text": "到", - "punctuation": "" - }, - { - "begin_time": 50085, - "end_time": 51195, - "text": "31号", - "punctuation": "、" - }, - { - "begin_time": 51195, - "end_time": 52305, - "text": "29号", - "punctuation": "," - }, - { - "begin_time": 52305, - "end_time": 52582, - "text": "你", - "punctuation": "" - }, - { - "begin_time": 52582, - "end_time": 52860, - "text": "看", - "punctuation": "" - }, - { - "begin_time": 52860, - "end_time": 53137, - "text": "这", - "punctuation": "" - }, - { - "begin_time": 53137, - "end_time": 53415, - "text": "就", - "punctuation": "" - }, - { - "begin_time": 53415, - "end_time": 53692, - "text": "可", - "punctuation": "" - }, - { - "begin_time": 53692, - "end_time": 53970, - "text": "以", - "punctuation": "" - }, - { - "begin_time": 53970, - "end_time": 54247, - "text": "看", - "punctuation": "。" - } - ] - }, - { - "begin_time": 54247, - "end_time": 55357, - "text": "出长春这。", - "sentence_id": 11, - "speaker_id": 0, - "words": [ - { - "begin_time": 54247, - "end_time": 54525, - "text": "出", - "punctuation": "" - }, - { - "begin_time": 54525, - "end_time": 54802, - "text": "长", - "punctuation": "" - }, - { - "begin_time": 54802, - "end_time": 55080, - "text": "春", - "punctuation": "" - }, - { - "begin_time": 55080, - "end_time": 55357, - "text": "这", - "punctuation": "。" - } - ] - }, - { - "begin_time": 55357, - "end_time": 57300, - "text": "两天没,不好意思。", - "sentence_id": 12, - "speaker_id": 1, - "words": [ - { - "begin_time": 55357, - "end_time": 55635, - "text": "两", - "punctuation": "" - }, - { - "begin_time": 55635, - "end_time": 55912, - "text": "天", - "punctuation": "" - }, - { - "begin_time": 55912, - "end_time": 56190, - "text": "没", - "punctuation": "," - }, - { - "begin_time": 56190, - "end_time": 56467, - "text": "不", - "punctuation": "" - }, - { - "begin_time": 56467, - "end_time": 56745, - "text": "好", - "punctuation": "" - }, - { - "begin_time": 56745, - "end_time": 57022, - "text": "意", - "punctuation": "" - }, - { - "begin_time": 57022, - "end_time": 57300, - "text": "思", - "punctuation": "。" - } - ] - } - ] - } - ] -} \ No newline at end of file