add
This commit is contained in:
38
app/admin/controller/Sdk.php
Normal file
38
app/admin/controller/Sdk.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace app\admin\controller;
|
||||
|
||||
use app\admin\model\UserIntegral;
|
||||
use app\common\controller\Backend;
|
||||
use app\common\library\DatabaseRoute;
|
||||
use think\facade\Db;
|
||||
|
||||
class Sdk extends Backend
|
||||
{
|
||||
protected array $noNeedPermission = ['getSdkList'];
|
||||
|
||||
|
||||
public function getSdkList()
|
||||
{
|
||||
$get = $this->request->get();
|
||||
if(empty($get['userId'])) {
|
||||
$this->error('userId 不能为空');
|
||||
}
|
||||
$sdkINfo = [
|
||||
'sdkRemarks' => $get['sdkRemarks'] ?? null,
|
||||
'status' => $get['status'] ?? null,
|
||||
'typeId' => $get['typeId'] ?? null,
|
||||
'nickName' => $get['nickName'] ?? null,
|
||||
'sdkContent' => $get['sdkContent'] ?? null,
|
||||
];
|
||||
$this->n_success(['data' => [
|
||||
'list' => [],
|
||||
'totalCount' => 0,
|
||||
'totalPage' => 0,
|
||||
'currPage' => 1,
|
||||
'pageSize' => 0,
|
||||
]]);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user