dever %!s(int64=3) %!d(string=hai) anos
pai
achega
c619ff5afa
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      service/option/src/My.php

+ 5 - 0
service/option/src/My.php

@@ -76,6 +76,11 @@ class My extends Core
 
         if ($this->data['list']) {
             foreach ($this->data['list'] as $k => $v) {
+                if ($v['type'] == 1) {
+                    $this->data['list'][$k]['type_name'] = '待交付期权';
+                } else {
+                    $this->data['list'][$k]['type_name'] = '待交付原始期权';
+                }
                 if ($v['daijiaofu_date'] > $date) {
                     $date = $v['daijiaofu_date'];
                 }