yas-tools.js 285 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 import yohoApp from 'js/yoho-app'; function getPname() { let pName = ''; if (yohoApp.isiOS) { pName = 'iFP_SalesPromotion_h5'; } if (yohoApp.isAndroid) { pName = 'aFP_SalesPromotion_h5'; } return pName; } module.exports = { getPname };