appidCheck static method
方法列表
Implementation
static Future<bool> appidCheck(var appid) async {
try {
if ((appid is String) == false) {
MzanalyticsLog.p('appid 必须为String类型');
return false;
}
if (number.hasMatch(appid) == false) {
MzanalyticsLog.p('appid 必须为数字');
return false;
}
return true;
} catch (e) {
return false;
}
}