Authored by ccbikai(👎🏻🍜)

Merge branch 'master' into gray

... ... @@ -15,12 +15,10 @@ exports.handleOrderList = (data, w, h) => {
}
function replaceWH(img) {
return img.replace(/(^https?:|\{width\}|\{height\})/g, function($0) {
return img.replace(/(\{width\}|\{height\})/g, function($0) {
const dict = {
'{width}': w,
'{height}': h,
'http:': '',
'https:': ''
'{height}': h
};
return dict[$0];
... ...