为弹外应用记录OpLog 提供服务
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param0 | OpLogDo | 可选 | OpLog | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ResultDo | result | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaMiaojieMosSecurityApiRequest req = new AlibabaMiaojieMosSecurityApiRequest(); AlibabaMiaojieMosSecurityApiRequest.OpLogDo obj1 = new AlibabaMiaojieMosSecurityApiRequest.OpLogDo(); obj1.setLastName( "罗一鸣" ); obj1.setNickNameCn( "算法" ); obj1.setCustomerId( "123455644" ); obj1.setOpContent( "old,price,1000;new,price,2000" ); obj1.setOpItem( "冰箱" ); obj1.setOpName( "修改商品价格" ); obj1.setOpType( "修改操作" ); obj1.setExtInfo( "扩展字段,任意填写" ); obj1.setBucUserId( "139969" ); obj1.setOpLogLevel( "HIGH_RISK" ); obj1.setOpDesc( "这里是补充描述" ); obj1.setOpItemId( "234343434" ); req.setParam0(obj1); AlibabaMiaojieMosSecurityApiResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | < alibaba_miaojie_mos_security_api_response > < result > < total >10</ total > < titles > < string >title1</ string > < string >title2</ string > </ titles > < err_msg >bucUserId is required!</ err_msg > < data >true</ data > < err_code >200</ err_code > < result_code >3</ result_code > < success >true</ success > </ result > </ alibaba_miaojie_mos_security_api_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 > |
错误码 | 错误描述 | 解决方案 |
---|