Commit 906dfd48 authored by jianglin's avatar jianglin

1. 获取用户的消费金额

2. 获取用户购买学院课程的数量
parent 88b17c40
......@@ -94,4 +94,28 @@ class Order extends Client
return self::call('order.verifyNotifyCode', compact('oid', 'code'));
}
/**
* 获取用户的消费金额
* @param $uid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function getMonetary($uid)
{
return self::call('order.getMonetary', compact('uid'));
}
/**
* 获取用户购买课程的数量
* @param $uid
* @return mixed
* @throws \internalApi\base\ApiException
* @throws \internalApi\base\ClientException
*/
public static function getBuyCourseTotal($uid)
{
return self::call('order.getBuyCourseTotal', compact('uid'));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment