去除手机号验证
This commit is contained in:
@@ -532,6 +532,7 @@ class CallBackController extends AbstractController
|
||||
|
||||
// 发送短信消息
|
||||
|
||||
// 告知处方平台
|
||||
return $server->serve();
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user