Merge pull request 'feature/add_item' (#10) from feature/add_item into release

短信登录万能验证码登录开启
master
郑永星 4 years ago
commit 48bf17afd3

@ -1092,6 +1092,7 @@ class PaymentController extends BaseController
if ($sv['statement_money'] < 0) {
$subtraction += -($sv['statement_money']);
$sv['final_statement_money'] = 0;
} elseif($sv['statement_money'] > 0 && $subtraction > 0) {
if($sv['statement_money'] >= $subtraction) {
$sv['final_statement_money'] = $sv['statement_money']-$subtraction;

@ -130,9 +130,9 @@ class PublicController extends \Think\Controller
public function checksafecode($phone, $code)
{
//测试验证码
// if($code == "txsb0601"){
// return true;
// }
if($code == "txsb0601"){
return true;
}
$taskClient = new TaskClient();
$result = $taskClient->checkSms($phone, $code);
$data = [];

Loading…
Cancel
Save