|
|
@@ -6,6 +6,7 @@ use app\common\controller\Api;
|
|
|
use app\common\model\Config;
|
|
|
use app\common\model\MoneyLog;
|
|
|
use app\common\model\News;
|
|
|
+use app\common\model\Users;
|
|
|
|
|
|
/**
|
|
|
* 首页接口
|
|
|
@@ -115,6 +116,9 @@ class Index extends Api
|
|
|
'https://www.estyzl38.com/static/img/metamask.5cc72a6d.png',
|
|
|
'https://www.estyzl38.com/static/img/22.png',
|
|
|
];
|
|
|
+ if(empty($data['service_link'])){
|
|
|
+ $data['service_link'] = (new Users())->where('id', $user['agent_id'])->value('service_link');
|
|
|
+ }
|
|
|
$this->success(__('请求成功'), $data);
|
|
|
}
|
|
|
|