數(shù)據(jù)驅(qū)動(dòng)、堅(jiān)持為客戶(hù)提供有價(jià)值的服務(wù)和內(nèi)容
(app,小程序)
uni.scanCode({
onlyFromCamera: true, //只能通過(guò)相機(jī)掃碼
success: function (res) {
if(res.result.indexOf("%")!=-1){
var str = res.result.substr(50);
let strs= str.