|
@@ -1,7 +1,34 @@
|
|
|
<?php
|
|
|
|
|
|
namespace app\api\controller;
|
|
|
-
|
|
|
+use app\common\model\ChinaArea;
|
|
|
+use app\common\model\GoodsOrder;
|
|
|
+use app\common\model\LevelOrder as LOM;
|
|
|
+use app\common\model\StoreGoods;
|
|
|
+use app\common\model\User;
|
|
|
+use app\common\model\UserMessage;
|
|
|
+use app\common\model\UserWallet;
|
|
|
+use app\common\model\VideoIntro;
|
|
|
+use app\common\service\Activity;
|
|
|
+use app\common\service\OrderCallback;
|
|
|
+use app\order\controller\StoreOrder;
|
|
|
+use EasyWeChat\MiniProgram\Application;
|
|
|
+use library\tools\Data;
|
|
|
+use MongoDB\Driver\Server;
|
|
|
+use Qiniu\Auth;
|
|
|
+use Qiniu\Storage\UploadManager;
|
|
|
+use think\Exception;
|
|
|
+use think\Session;
|
|
|
+use think\cache\driver\Redis;
|
|
|
+use EasyWeChat\Factory;
|
|
|
+use Firebase\JWT\JWT;
|
|
|
+use think\Db;
|
|
|
+use AlibabaCloud\Client\AlibabaCloud;
|
|
|
+use AlibabaCloud\Client\Exception\ClientException;
|
|
|
+use AlibabaCloud\Client\Exception\ServerException;
|
|
|
+use function AlibabaCloud\Client\value;
|
|
|
+use function EasyWeChat\Kernel\data_get;
|
|
|
+use function Stringy\create;
|
|
|
|
|
|
use JPush\Client;
|
|
|
//$path = __DIR__ . \DIRECTORY_SEPARATOR . '..' . \DIRECTORY_SEPARATOR . 'vendor' . \DIRECTORY_SEPARATOR . 'autoload.php';
|
|
@@ -12,9 +39,9 @@ class Qc extends Base {
|
|
|
|
|
|
public function index()
|
|
|
{
|
|
|
- //$re = Jpush(22,'fdssdf');
|
|
|
- // var_dump($re);
|
|
|
- // die();
|
|
|
+ $re = Jpush(22,'fdssdf');
|
|
|
+ var_dump($re);
|
|
|
+ die();
|
|
|
$user_id = 22 ;
|
|
|
$alert ='aaaa';
|
|
|
if(empty($user_id)) return false;
|