修改功能依赖

This commit is contained in:
root
2025-05-18 12:21:07 +00:00
parent 4a90c41da2
commit 2f1dd89060
7 changed files with 121 additions and 752 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class Index extends BaseController
//平台机器人总余额
$ptzbotmoney=Db::name("admin_bot")->sum('money');
//平台总利润
$ptlirun=Db::name("order")->sum('lirun');
$ptlirun=Db::name("order")->sum('slirun');
return $this->success('返回成功', ['uplist'=>$uplist,'ptzuser'=>$ptzuser,'ptzbot'=>$ptzbot,'ptzbotmoney'=>$ptzbotmoney,'ptlirun'=>$ptlirun]);
}
+3 -1
View File
@@ -5,6 +5,7 @@ use think\facade\Db;
use laytp\controller\Api;
use dh2y\qrcode\QRcode;
use think\facade\Cache;
use app\service\Customer;
/**
* @ApiInternal ()
@@ -43,7 +44,8 @@ class Demo extends Api
*/
/*@formatter:on*/
public function test()
{ $req = ChangeMoney('7891454089', 'member', "-", 5, 8032909529, "消费" . "测试");
{ $Customer= new Customer();
$req =$Customer-> CreateQRcode('TSCBYxKnLbLGPkcjZddWB4b64ymTdpcyY3', '100');
var_dump($req);
return $this->success('返回成功', $this->request->param());
}
File diff suppressed because one or more lines are too long