Explorar el Código

fix(admin): 修正用户提取数据中的金额字段引用错误

- 修复了记录数据中 number 字段错误引用 $data['extract_price'] 的问题
- 将 number 字段更正为使用 $extract_data['extract_price']
- 确保提取价格数据的一致性与准确性
shichen hace 3 meses
padre
commit
4ee4d98c18
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/controller/admin/user/UserExtract.php

+ 1 - 1
app/controller/admin/user/UserExtract.php

@@ -275,7 +275,7 @@ class UserExtract extends BaseController
275 275
                 $recordData = [
276 276
                     'user_id' => $extract_data['uid'],
277 277
                     'pm' => UserWithdrawalLimitRecordEnum::PM['INCOME']['code'],
278
-                    'number' => $data['extract_price'],
278
+                    'number' => $extract_data['extract_price'],
279 279
                     'balance' => $userEntity->withdrawalLimit + $extract_data['extract_price'],
280 280
                     'type_shop' => -1,
281 281
                     'order_sn' => '',