- 剧目更新接口中文报错?
剧目更新信息: 接口: https://api.weixin.qq.com/wxa/sec/vod/modifydramabasicinfo?access_token=token 提交信息: { "drama_id": 102538, "description": "女主李某,古灵精怪天真烂漫。", "cover_material_id": "xxxxx", "recommendations": "", "promotion_poster_material_id": "", "alternate_name": "", "actor_list": { "actor": [ { "name": "张三", "photo_material_id": "xxxxxx", "role": "张三", "profile": "张三来自武当山" }, { "name": "李四", "photo_material_id": "xxxxx", "role": "李四", "profile": "李四来自峨眉山" } ] }, "qualification_type": 2, "cost_commitment_letter_material_id": "xxxx", "registration_number": "" } 返回信息 Response: {'errcode': 10090018, 'errmsg': '剧目简介不能超过200个字符 rid: 664eadb3-163ec054-031f4422'} 备注: 提交的信息如果中文都换成英文可以提交通过, 中文转成unicode码 提示如下 { "drama_id": 102538, "description": "\\u5973\\u4e3b\\u5415\\u4e00", "cover_material_id": "rY1N_8nZuPDEmR2bYZv-Zu_DXjGJu8hisbgh_vvLQd1Nv_WgrTEtoNzz3gC1cfeQ", "recommendations": "", "promotion_poster_material_id": "", "alternate_name": "", "actor_list": { "actor": [ { "name": "\\u9646\\u4e4b\\u6602", "photo_material_id": "rY1N_8nZuPDEmR2bYZv-ZnZsbuZmKDzUEqzZ1wt2gOECJfrrJR6dp4wbkO5iCgln", "role": "\\u621a\\u98ce", "profile": "\\u51fa\\u751f\\u4e8e1992\\u5e74" }, { "name": "\\u695a\\u7476\\u5149", "photo_material_id": "Y1N_8nZuPDEmR2bYZv-ZnBbIeTbFvjyW0FB767xcTT9WKpV_kw1cJoQRoAXj63J", "role": "\\u5415\\u4e00\\u4e00", "profile": "\\u6e56\\u5357\\u4eba\\uff0c\\u6469\\u7faf\\u5ea7" } ] }, "qualification_type": 2, "cost_commitment_letter_material_id": "", "registration_number": "" } Response: {'errcode': 10090018, 'errmsg': '请输入正确的剧目简介,不支持输入空格,支持输入中文、英文、阿拉伯数字及,。;“”?、—《》!()-· rid: 664eb117-2f402d65-2cc61226'} 换成英文就可以通过 { "drama_id": 110374, "description": "Amazingrestaurant", "cover_material_id": "", "recommendations": "", "promotion_poster_material_id": "xxxxxx", "alternate_name": "", "actor_list": { "actor": [ { "name": "ZhongLiyi", "photo_material_id": "xxxxxx", "role": "qifeng", "profile": "XieShixinwasbornin1994andgraduatedfromtheCentralAcademyofDrama.Heightis184Sagittarius." }, { "name": "LuYayun", "photo_material_id": "xxxxxx-xxxx", "role": "lingxi", "profile": "WeiLinnanZhejiangScorpio" } ] }, "qualification_type": 2, "cost_commitment_letter_material_id": "xxx-xxx", "registration_number": "" } Response: {'errcode': 0, 'errmsg': 'ok'} 这样才可以通过
05-23 - 剧目更新接口中文报错?
https://api.weixin.qq.com/wxa/sec/vod/modifydramabasicinfo?access_token=token 剧目更新接口提交参数 提交信息: { "drama_id": 102538, "description": "女主李某,古灵精怪天真烂漫。", "cover_material_id": "xxxxx", "recommendations": "", "promotion_poster_material_id": "", "alternate_name": "", "actor_list": { "actor": [ { "name": "张三", "photo_material_id": "xxxxxx", "role": "张三", "profile": "张三来自武当山" }, { "name": "李四", "photo_material_id": "xxxxx", "role": "李四", "profile": "李四来自峨眉山" } ] }, "qualification_type": 2, "cost_commitment_letter_material_id": "xxxx", "registration_number": "" } 返回信息 Response: {'errcode': 10090018, 'errmsg': '剧目简介不能超过200个字符 rid: 664eadb3-163ec054-031f4422'} 如果把中文换成英文可以通过
05-23