标题诊断
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
category_id | Number | 必须 | 1 | 类目id,没有的时候传-1 | |
extra | Extra | 可选 | 扩展信息 | ||
|
|||||
identifier | String | 必须 | 1 | erp用户id | |
identifier_type | String | 必须 | alibaba | 调用来源(erp名称) | |
language | String | 必须 | en | 语种 | |
platform | String | 必须 | ae | 商品所在平台(ae/icbu) | |
title | String | 必须 | mp3 | 标题 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
all_uppercase_words | String [] | TEST,HELLO | 全大写的单词 |
contain_core_classes | Boolean | true | 是否包含类目主词 |
disable_word_list | String [] | test,test2 | 违禁词 |
duplicate_word_list | String [] | mp3 | 重复的词 |
language_quality_score | String | 3.5 | 语言质量分(0-5) |
no_first_uppercase_word_list | String [] | test,test2 | 首字母未大写单词 |
over_length_limit | Boolean | false | 标题是否超过长度限制 |
total_score | Number | 80 | 总分(0-100) |
spell_error_word_list | String [] | test,test2 | 拼写错误的单词 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaSeakingDiagnosistitleRequest req = new AlibabaSeakingDiagnosistitleRequest(); req.setCategoryId(1L); AlibabaSeakingDiagnosistitleRequest.Extra obj1 = new AlibabaSeakingDiagnosistitleRequest.Extra(); obj1.setPlatform( "ae" ); obj1.setProductId( "1" ); obj1.setSubIdentifier( "cnxxxx" ); obj1.setSubIdentifyType( "ae" ); req.setExtra(obj1); req.setIdentifier( "1" ); req.setIdentifierType( "alibaba" ); req.setLanguage( "en" ); req.setPlatform( "ae" ); req.setTitle( "mp3" ); AlibabaSeakingDiagnosistitleResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | < alibaba_seaking_diagnosistitle_response > < all_uppercase_words > < string >TEST</ string > < string >HELLO</ string > </ all_uppercase_words > < contain_core_classes >true</ contain_core_classes > < disable_word_list > < string >test</ string > < string >test2</ string > </ disable_word_list > < duplicate_word_list > < string >mp3</ string > </ duplicate_word_list > < language_quality_score >3.5</ language_quality_score > < no_first_uppercase_word_list > < string >test</ string > < string >test2</ string > </ no_first_uppercase_word_list > < over_length_limit >false</ over_length_limit > < total_score >80</ total_score > < spell_error_word_list > < string >test</ string > < string >test2</ string > </ spell_error_word_list > </ alibaba_seaking_diagnosistitle_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|