Commit 66970e12 by doszhang

dos

parent c1fa1aa8
......@@ -47,9 +47,6 @@ trait UserTrait
// 授权接口 这里get拿到两个数据 openid和token todo 会员判断先关实现和位置思量
public function auth()
{
echo "<pre>";
print_r($_GET);
die();
//如果是分享出去的链接,重新授权
if (!empty($_GET['from'])) {
$this->request_auth();
......
......@@ -153,10 +153,12 @@ function submit() {
if (name.match(/^\s*$/)) {
$('#notification_area').remove();
my_notify('请填写姓名');
submitStatus = true;
return false;
} else if (!tel.match(/^1\d{10}$/)) {
$('#notification_area').remove();
my_notify('电话填写有误');
submitStatus = true;
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment