|
@@ -272,12 +272,14 @@ class Index extends Api
|
|
|
*
|
|
|
* @param name:page type:int require:0 default:1 desc:
|
|
|
* @param name:limit type:int require:0 default:10 desc:
|
|
|
+ * @param name:type type:int require:0 default: desc:1:权益积分释放记录3:库存积分释放记录
|
|
|
*/
|
|
|
public function equity_records(){
|
|
|
$user_id = $this->check_login();
|
|
|
$Nowpage = input('page',1);
|
|
|
$limits = input("limit",10);
|
|
|
- $result = User::EquityRecords($user_id,$Nowpage,$limits);
|
|
|
+ $type = input("type");
|
|
|
+ $result = User::EquityRecords($user_id,$Nowpage,$limits,$type);
|
|
|
$this->success($result['msg'],$result['data']);
|
|
|
}
|
|
|
|