正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -506,7 +506,7 @@ class User extends Api | @@ -506,7 +506,7 @@ class User extends Api | ||
506 | ->where($type_map) | 506 | ->where($type_map) |
507 | ->where($map) | 507 | ->where($map) |
508 | ->order('id desc') | 508 | ->order('id desc') |
509 | - ->join('vip v', 'v,id=a.vip_id') | 509 | + ->join('vip v', 'v.id=a.vip_id') |
510 | ->field('a.id,v.title,a.zhao_type,a.createtime') | 510 | ->field('a.id,v.title,a.zhao_type,a.createtime') |
511 | ->page($param['pages'], $param['rows']) | 511 | ->page($param['pages'], $param['rows']) |
512 | ->select(); | 512 | ->select(); |
@@ -515,7 +515,7 @@ class User extends Api | @@ -515,7 +515,7 @@ class User extends Api | ||
515 | ->where($type_map) | 515 | ->where($type_map) |
516 | ->where($map) | 516 | ->where($map) |
517 | ->order('id desc') | 517 | ->order('id desc') |
518 | - ->join('vip v', 'v,id=a.vip_id') | 518 | + ->join('vip v', 'v.id=a.vip_id') |
519 | ->field('a.id,v.title,a.zhao_type,a.createtime') | 519 | ->field('a.id,v.title,a.zhao_type,a.createtime') |
520 | ->select(); | 520 | ->select(); |
521 | } else { | 521 | } else { |
@@ -537,7 +537,7 @@ class User extends Api | @@ -537,7 +537,7 @@ class User extends Api | ||
537 | ->where($map) | 537 | ->where($map) |
538 | ->order('id desc') | 538 | ->order('id desc') |
539 | ->alias('a') | 539 | ->alias('a') |
540 | - ->join('vip v', 'v,id=a.vip_id') | 540 | + ->join('vip v', 'v.id=a.vip_id') |
541 | ->field('a.id,v.title,a.xi_type,a.createtime') | 541 | ->field('a.id,v.title,a.xi_type,a.createtime') |
542 | ->page($param['pages'], $param['rows']) | 542 | ->page($param['pages'], $param['rows']) |
543 | ->select(); | 543 | ->select(); |
@@ -546,7 +546,7 @@ class User extends Api | @@ -546,7 +546,7 @@ class User extends Api | ||
546 | ->where($map) | 546 | ->where($map) |
547 | ->order('id desc') | 547 | ->order('id desc') |
548 | ->alias('a') | 548 | ->alias('a') |
549 | - ->join('vip v', 'v,id=a.vip_id') | 549 | + ->join('vip v', 'v.id=a.vip_id') |
550 | ->field('a.id,v.title,a.xi_type,a.createtime') | 550 | ->field('a.id,v.title,a.xi_type,a.createtime') |
551 | ->select(); | 551 | ->select(); |
552 | } | 552 | } |
-
请 注册 或 登录 后发表评论