|
|
@@ -106,8 +106,15 @@ class Sys extends Model
|
|
|
if($code=="invite"){
|
|
|
return $inviteconfig;
|
|
|
}
|
|
|
+ //积分配置
|
|
|
+ $scoreconfig=[
|
|
|
+ "points_transformation"=>"",
|
|
|
+ ];
|
|
|
+ if(!empty($sys->points_transformation)){
|
|
|
+ $scoreconfig['points_transformation'] = $sys->points_transformation;
|
|
|
+ }
|
|
|
if($code=="score"){
|
|
|
- return $sys->points_transformation;
|
|
|
+ return $scoreconfig;
|
|
|
}
|
|
|
$data = $sys->toArray();
|
|
|
$data["wxconfig"] = $wxconfig;
|