feat: 函数库列表接口添加user_id属性

This commit is contained in:
shaohuzhang1 2024-09-25 15:18:01 +08:00 committed by shaohuzhang1
parent 052b4008e9
commit 43af7b9a89

View File

@ -27,7 +27,7 @@ function_executor = FunctionExecutor(CONFIG.get('SANDBOX'))
class FunctionLibModelSerializer(serializers.ModelSerializer):
class Meta:
model = FunctionLib
fields = ['id', 'name', 'desc', 'code', 'input_field_list', 'permission_type', 'is_active',
fields = ['id', 'name', 'desc', 'code', 'input_field_list', 'permission_type', 'is_active', 'user_id',
'create_time', 'update_time']