...
|
...
|
@@ -275,7 +275,7 @@ class ShareController extends RestBaseController |
|
|
* @return current_page:当前页
|
|
|
* @return last_page:尾页
|
|
|
* @return data:对象信息@!
|
|
|
* @data card_id:名片id name:名片名称 money:总佣金
|
|
|
* @data card_id:名片id name:名片名称 money:总佣金 avatar:头像
|
|
|
*/
|
|
|
public function getMyWallet() {
|
|
|
$per_page = !empty($data['per_page']) ? : config('per_page');
|
...
|
...
|
@@ -283,7 +283,7 @@ class ShareController extends RestBaseController |
|
|
->alias('m')
|
|
|
->join('card c','m.card_id = c.id')
|
|
|
->where(['m.user_id' => $this->userId])
|
|
|
->field('m.card_id,m.money,c.name')
|
|
|
->field('m.card_id,m.money,c.name,u.avatar')
|
|
|
->order('m.create_time desc')
|
|
|
->paginate($per_page);
|
|
|
if ($result === false) {
|
...
|
...
|
|