|
@@ -412,4 +412,21 @@ class My extends Core
|
|
|
|
|
|
return $this->data;
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ public function getSell()
|
|
|
+ {
|
|
|
+ $this->data['user'] = $this->user;
|
|
|
+
|
|
|
+ $where['mid'] = $this->uid;
|
|
|
+ $this->data['list'] = Dever::db('bill/sell_stat')->getData($where);
|
|
|
+
|
|
|
+ if ($this->data['list']) {
|
|
|
+ foreach ($this->data['list'] as $k => $v) {
|
|
|
+ $this->data['list'][$k]['month_string'] = date('Y年月', $v['month']);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ return $this->data;
|
|
|
+ }
|
|
|
}
|