|
|
@@ -356,6 +356,7 @@ class EnshrineService extends BaseService
|
|
|
'source_id'=> $id,
|
|
|
'user_id'=> $userId,
|
|
|
'type'=> $type,
|
|
|
+ 'description'=> isset($params['description'])? $params['description'] : '',
|
|
|
'create_time'=> time(),
|
|
|
'update_time'=> time(),
|
|
|
'status'=> 1
|
|
|
@@ -366,7 +367,7 @@ class EnshrineService extends BaseService
|
|
|
}
|
|
|
|
|
|
$giveGd = 0;
|
|
|
- $fields = ['1'=> 'qifu_guibai_give_gd','2'=> 'qifu_wash_give_gd'];
|
|
|
+ $fields = ['1'=> 'qifu_guibai_give_gd','2'=> 'qifu_wash_give_gd','3'=>'qifu_xuyuan_give_gd'];
|
|
|
$field = isset($fields[$type])? $fields[$type] : '';
|
|
|
if($field){
|
|
|
$giveGd = ConfigService::make()->getConfigByCode($field);
|