正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -258,10 +258,11 @@ class Client extends Base | @@ -258,10 +258,11 @@ class Client extends Base | ||
258 | $receive_id=$this->postParam['id']; | 258 | $receive_id=$this->postParam['id']; |
259 | $where['a.id']=$receive_id; | 259 | $where['a.id']=$receive_id; |
260 | $where['a.user_id']=$this->auth->id; | 260 | $where['a.user_id']=$this->auth->id; |
261 | - $field="a.*,b.image,b.name as store_name"; | 261 | + $field="a.*,b.image,b.name as store_name,c.name as coupon_name"; |
262 | $receive=Db::name('verification_receive') | 262 | $receive=Db::name('verification_receive') |
263 | ->alias('a') | 263 | ->alias('a') |
264 | ->join('verification_store b','a.verification_store_id=b.id') | 264 | ->join('verification_store b','a.verification_store_id=b.id') |
265 | + ->join('verification_coupon c','a.verification_coupon_id = c.id','left') | ||
265 | ->where($where) | 266 | ->where($where) |
266 | ->field($field) | 267 | ->field($field) |
267 | ->find(); | 268 | ->find(); |
-
请 注册 或 登录 后发表评论