/** * Created by gqs on 2020/8/6. */ //字符串双引号替换成单引号 function SQuotToDQuot(params){ return JSON.stringify(params).replace(/'/g, '"') ; }