|
@@ -142,13 +142,13 @@ function M.get_tui_guang(msg_body)
|
|
|
end
|
|
|
|
|
|
|
|
|
---根据素材id搜索 material_id
|
|
|
+--根据素材id搜索 material_id
|
|
|
function M.search_zeng_liang_by_material_id(msg_body)
|
|
|
- local isok ,key = tools.checkData({"material_id"},msg_body)
|
|
|
+ local isok ,key = tools.checkData({"oce_material_id"},msg_body)
|
|
|
if not isok then
|
|
|
return false,string.format("缺少字段: %s.", key)
|
|
|
end
|
|
|
- local sql = string.format("SELECT * FROM video_material WHERE material_id = %d LIMIT 1 ", msg_body.material_id)
|
|
|
+ local sql = string.format("SELECT * FROM video_material WHERE oce_material_id = %d LIMIT 1 ", msg_body.oce_material_id)
|
|
|
local res;
|
|
|
res = mysqldbx.query(sql)
|
|
|
local info = {}
|