"Scene" : "1"
{} function (res)
Alert (JSON. Stringify (res));
//this is the callback function
});
Use this not line, is this why
CodePudding user response:
To ask, how always returns chooseInvoiceTitle: fail?CodePudding user response:
Yes, always display chooseInvoiceTitle: fail_api unauthoreizedCodePudding user response:
The original article is without this, only available in the original articleCodePudding user response:
Suggested that the program posted on the Internet, and add a click event to a is hard to find, click fill in wx. Invoke method as followsDocument. QuerySelector (' # chooseInvoiceTitle '). The onclick=function () {
Wx. Invoke (' chooseInvoiceTitle '{
"Scene" : "1"
{} function (res)
The processing and call//here X ` `
Var info=res. Choose_invoice_title_info
//alert (res) err_msg + res) choose_invoice_title_info)
Alert (" id number: "+ info. TaxNumber +" is payable to: "+ info. The title)
The console. The log (res)
})
}
And don't use WeChat development tools to WeChat open mobile phone directly, because WeChat development tools don't have the rise the function of the information, I have to solve this problem, have any questions please leave a message
CodePudding user response: