|
@@ -109,7 +109,12 @@ class CoflController extends Controller
|
|
|
}
|
|
|
$user = $this->getUsers($openid);
|
|
|
if(!$user || !$user[0] || !$user[1]) return redirect()->to($this->getLink().'?'.http_build_query($params));
|
|
|
- $this->statsDetail($user[0],'reward',0);
|
|
|
+
|
|
|
+ if($type == 'CRM'){
|
|
|
+ $this->statsDetail($user[0],'reward',0);
|
|
|
+ }else{
|
|
|
+ $this->statsDetail($user[0],'wreward',0);
|
|
|
+ }
|
|
|
$get_free_currency = UserBindHkWelfareService::isHasGet($user[0]);
|
|
|
if($get_free_currency){
|
|
|
//已经领过
|