rpc.exports
=
{
xianyu: function () {
var result
=
''
Java.perform(function () {
var mtopconfig
=
Java.use(
'mtopsdk.mtop.global.MtopConfig'
).$new(
'INNER'
)
var inner_sign_impl
=
Java.use(
'mtopsdk.security.InnerSignImpl'
).$new()
inner_sign_impl.init(mtopconfig)
mtopconfig.l.value
=
inner_sign_impl
var
str
=
Java.use(
'java.lang.String'
)
var a
=
Java.use(
'mtopsdk.mtop.intf.Mtop'
).$new(
str
.$new(
'INNER'
), mtopconfig)
var b
=
Java.use(
'mtopsdk.mtop.domain.MtopRequest'
).$new()
b.setApiName(
str
.$new(
'mtop.taobao.idle.xyh.item.list'
))
b.setVersion(
str
.$new(
'1.0'
))
b.setData(
str
.$new(
'{"defaultGroup":true,"groupId":940958,"groupName":"在售","needGroupInfo":false,"pageNumber":1,"pageSize":20,"userId":"1666753635"}'
))
b.setNeedEcode(false)
b.setNeedSession(true)
var c
=
null
var d
=
Java.use(
'mtopsdk.mtop.common.MtopNetworkProp'
).$new()
d.setProtocol(Java.use(
'mtopsdk.mtop.domain.ProtocolEnum'
).HTTPSECURE.value)
d.setMethod(Java.use(
'mtopsdk.mtop.domain.MethodEnum'
).POST.value)
/
/
d.envMode
/
/
d.autoRedirect
/
/
d.setRequestHeaders()
var headers
=
Java.use(
'java.util.HashMap'
).$new()
/
/
d.requestHeaders
=
headers.put(
str
.$new(
'EagleEye-UserData'
),
str
.$new(
'spm-cnt=a2170.7905591.0.0&spm-url=a2170.7905805.clkhead.1'
))
headers.put(
str
.$new(
'referer'
),
str
.$new(
'https://h5.m.goofish.com/cea/idleFish-F2e/idle-personal/pages/home'
))
headers.put(
str
.$new(
'first_open'
),
str
.$new(
'0'
))
headers.put(
str
.$new(
'umid'
),
str
.$new(
'itgB3FtLPILGBwKMrBnyNHO+GP824lta'
))
headers.put(
str
.$new(
'x-bx-version'
),
str
.$new(
'6.6.230703'
))
headers.put(
str
.$new(
'imei'
),
str
.$new(
'862641052827191'
))
d.setRequestHeaders(headers)
/
/
timeCalibrated
d.ttid.value
=
str
.$new(
'701186@fleamarket_android_7.12.80'
)
/
/
d.useCache
/
/
d.forceRefreshCache
/
/
d.cacheKeyBlackList
var paramMap
=
Java.use(
'java.util.HashMap'
).$new();
paramMap.put(
str
.$new(
'type'
),
str
.$new(
'originaljson'
))
d.queryParameterMap.value
=
paramMap
/
/
d.queryParameterMap.value
=
d.queryParameterMap
d.reqAppKey.value
=
str
.$new(
'21407387'
)
/
/
d.clientTraceId
=
之后随机数构造
/
/
/
/
/
/
/
/
/
/
/
/
var e
=
null
/
/
var f
=
Java.use(
'mtopsdk.mtop.common.ApiID'
).$new()
var request_id
=
Java.use(
'mtopsdk.mtop.util.RequestIdGenerator'
).getRequestId()
console.log(
'?request_id\t'
, request_id)
var v1
=
Java.use(
'mtopsdk.mtop.stat.UploadStatAppMonitorImpl'
).$new()
var g
=
Java.use(
'mtopsdk.mtop.util.MtopStatistics'
).$new(null, null)
var h
=
Java.use(
'java.lang.String'
).$new(
'MTOP'
+
request_id)
var i
=
null
var j
=
null
var k
=
null
var l
=
null
var m
=
null
console.log(
'?a class\t'
, a.
class
)
console.log(
'?b class\t'
, b.
class
)
var n
=
Java.use(
'mtopsdk.mtop.intf.MtopBuilder'
).$new(a, b,
str
.$new(
'701186@fleamarket_android_7.12.80'
))
n.requestId
=
request_id
var o
=
0
/
/
一会开始补环境
var new_build_param
=
Java.use(
'mtopsdk.mtop.protocol.builder.impl.InnerProtocolParamBuilderImpl'
).$new()
var domain_mtop
=
Java.use(
'mtopsdk.framework.domain.MtopContext'
).$new()
domain_mtop._a.value
=
a
console.log(domain_mtop._a.value)
domain_mtop.b.value
=
b
domain_mtop.d.value
=
d
domain_mtop.g.value
=
Java.use(
'mtopsdk.mtop.util.MtopStatistics'
).$new(v1, null)
domain_mtop.n.value
=
n
var a_result
=
new_build_param.buildParams(domain_mtop)
/
/
send(a_result.toString())
result
=
a_result.toString()
console.log(
'?a_result'
, a_result)
})
return
result
},
}