摘要: $money_reg = '/^[1-9]\d*|^[1-9]\d*.\d+[1-9]$/';if(!preg_match($money_reg, $money)){ $this->ajaxError('金额格式错误');} 阅读全文
posted @ 2018-12-26 11:08 phpwyl 阅读(4282) 评论(0) 推荐(0) 编辑