In the return value, path is the path corresponding to the applet code.
The scanned code must be generated by the AppID and secret of the mini program. You can also generate it for testing by filling in the mini program path in the mini program background-->tools-->
uni.scanCode({
success(res) {
console.log(res)
}
})