作者 chencheng

0601-15

... ... @@ -258,10 +258,11 @@ class Client extends Base
$receive_id=$this->postParam['id'];
$where['a.id']=$receive_id;
$where['a.user_id']=$this->auth->id;
$field="a.*,b.image,b.name as store_name";
$field="a.*,b.image,b.name as store_name,c.name as coupon_name";
$receive=Db::name('verification_receive')
->alias('a')
->join('verification_store b','a.verification_store_id=b.id')
->join('verification_coupon c','a.verification_coupon_id = c.id','left')
->where($where)
->field($field)
->find();
... ...