Explorar el Código

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl hace 1 año
padre
commit
b8a7520dfb
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      frontendApi/modules/v1/controllers/UserController.php

+ 4 - 1
frontendApi/modules/v1/controllers/UserController.php

@@ -472,12 +472,15 @@ class UserController extends BaseController {
 
 
         // 行政区划
         // 行政区划
         $region = Region::getByCountryId($user['COUNTRY_ID']);
         $region = Region::getByCountryId($user['COUNTRY_ID']);
+        // 支付方式
+        $payList = ShopGoods::payTypes();
+        unset($payList['prp']);
 
 
         return static::notice([
         return static::notice([
             'allDecPackage' => $allDecPackage,
             'allDecPackage' => $allDecPackage,
             'allGoods' => $allGoods,
             'allGoods' => $allGoods,
             'decUserName'=>$decUserName,
             'decUserName'=>$decUserName,
-            'payList' => ShopGoods::payTypes(),
+            'payList' => $payList,
             'sellType' => ShopGoods::getCategoryType(),
             'sellType' => ShopGoods::getCategoryType(),
             'categoryType' => ShopGoods::getCategoryType()[0]['id'],
             'categoryType' => ShopGoods::getCategoryType()[0]['id'],
             'userBalance' => $userBalance,
             'userBalance' => $userBalance,