|
@@ -10,10 +10,10 @@ dateUtils = DateUtils()
|
|
|
|
|
|
class AiAutoCreateCreativeJob():
|
|
|
|
|
|
- def auto_create_job(self):
|
|
|
+ def auto_create_job(self,account_id):
|
|
|
response_dict = ResultDictUtils.common_success_dict
|
|
|
# 查询需要自动创建创意的模板信息
|
|
|
- templates = mysqlUtils.get_all_ai_account_target_template_by_params(1)
|
|
|
+ templates = mysqlUtils.get_all_ai_account_target_template_by_params(1,account_id)
|
|
|
if len(templates):
|
|
|
for item in templates:
|
|
|
self.create_creative(item)
|