去除手机号验证

This commit is contained in:
2023-03-14 19:02:09 +08:00
parent 833acbbc99
commit fa4e3e0382
4 changed files with 192 additions and 21 deletions
+24 -19
View File
@@ -14,6 +14,7 @@ use App\Services\UserDoctorService;
use App\Services\UserService;
use App\Utils\Http;
use App\Utils\Log;
use Extend\Prescription\Prescription;
use Extend\TencentIm\Account;
use Extend\TencentIm\Friend;
use Extend\TencentIm\Group;
@@ -104,25 +105,25 @@ class UserController extends AbstractController
// return $this->response->json($pay_config);
// 发起退款
$WechatPay = new WechatPay(1,2);
$params = array();
$params['order_inquiry_id'] = 1;
$order_inquiry = OrderInquiry::getOne($params);
$options = array();
$options['transaction_id'] = "4200001756202303145016495897";
$options['out_refund_no'] = "123456";
$options['reason'] = "退款原因";
$options['amount'] = [
'refund' => (int)1,
'total' => (int)1,
'currency' => "CNY",
];
$result = $WechatPay->refund($options);
dump($result);
// $WechatPay = new WechatPay(1,2);
//
// $params = array();
// $params['order_inquiry_id'] = 1;
// $order_inquiry = OrderInquiry::getOne($params);
//
//
// $options = array();
// $options['transaction_id'] = "4200001756202303145016495897";
// $options['out_refund_no'] = "123456";
// $options['reason'] = "退款原因";
// $options['amount'] = [
// 'refund' => (int)1,
// 'total' => (int)1,
// 'currency' => "CNY",
// ];
//
// $result = $WechatPay->refund($options);
// dump($result);
// 创建账号
$account = new Account();
@@ -234,5 +235,9 @@ class UserController extends AbstractController
// return fail(HttpEnumCode::HTTP_ERROR, $res);
// }
// 对接处方平台
$Prescription = new Prescription();
$token = $Prescription->getProd();
dump($token);
}
}