添加分润信息时
请求接口
https://api.mch.weixin.qq.com/pay/profitsharingaddreceiver
发送参数
<xml>
<nonce_str>48WgloEQvtkax7UyLXq4NihVjg6fC6VF</nonce_str>
<receiver>{"type":"MERCHANT_ID","account":"分润商户号","relation_type":"SERVICE_PROVIDER","name":"商户名称"}</receiver>
<sign>加密串</sign>
<mch_id>服务商商户号</mch_id>
<sub_mch_id>子商户号</sub_mch_id>
<app_id>应用Id</app_id>
<sign_type>HMAC-SHA256</sign_type>
</xml>
请求返回
{return_msg=appid未设置, return_code=FAIL}
你传的appid在哪?再说了,接口有"app_id"字段?