12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- namespace app\api\controller;
- use app\api\controller\WeChart;
- use app\common\model\BaseGoods;
- use app\common\model\ChinaArea;
- use app\common\model\GoodsOrder;
- use app\common\model\OrderBill;
- use app\common\model\ReductionActivity;
- use app\common\model\StoreGoods;
- use app\common\model\User;
- use app\common\model\UserWallet;
- use app\common\service\Activity;
- use app\common\service\OrderCallback;
- use app\common\service\PurchaseLogic;
- use app\order\controller\StoreOrder;
- use EasyWeChat\MiniProgram\Application;
- use library\tools\Data;
- 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 Stringy\create;
- class Qc extends Base {
- public function index()
- {
- var_dump(669333);
- $order_info = GoodsOrder::with('orderItem')->where('id',1)->find()->toArray();
- $res = OrderCallback::goodsOrderCallBack($order_info,1);// 支付完成后回调
- dump($res);
- }
- public function index_match()
- {
- $password = "123456879_/";
- //密码必须包含大小写字母/数字/符号任意两者组合
- $regStr = "/^(?![0-9]+$)(?![a-z]+$)(?![A-Z]+$)(?!([^(0-9a-zA-Z)]|[\(\)])+$)([^(0-9a-zA-Z)]|[\(\)]|[a-z]|[A-Z]|[0-9]){6,16}$/";
- var_dump(preg_match($regStr, $password));
- }
- }
|