|
@@ -36,6 +36,7 @@ use app\api\service\za\PaySuccess as ZaPaySuccessModel;
|
|
|
use think\cache\driver\Redis;
|
|
|
use app\common\model\RedisString;
|
|
|
use app\api\model\kj\KjActivityJoin;
|
|
|
+use app\common\service\commission\RecordWaitCommission;
|
|
|
|
|
|
|
|
|
|
|
@@ -58,6 +59,18 @@ class Test extends Controller
|
|
|
|
|
|
|
|
|
public function tj(){
|
|
|
+ $key = 'key1000';
|
|
|
+ $rds = new Redis(config('cache.stores.redis'));
|
|
|
+ $value = $rds->get($key);
|
|
|
+ dd($value);
|
|
|
+
|
|
|
+ //待结算佣金计算
|
|
|
+ $RecordWaitCommission = new RecordWaitCommission;
|
|
|
+ //分销记录放入队列
|
|
|
+ $RecordWaitCommission->recordWaitCommission(438);
|
|
|
+ dd('xxx');
|
|
|
+
|
|
|
+
|
|
|
$res = UserModel::setIncAccumulatePoints(107633,99.11,10,'老板赠送');
|
|
|
dd($res);
|
|
|
|