|
@@ -52,6 +52,7 @@ class UserService
|
|
* 购买vip
|
|
* 购买vip
|
|
*/
|
|
*/
|
|
public function buy_vip($param){
|
|
public function buy_vip($param){
|
|
|
|
+ throw new Exception("选择的会员id=".$param['id']);
|
|
if(empty($param['id'])){
|
|
if(empty($param['id'])){
|
|
throw new Exception("参数错误");
|
|
throw new Exception("参数错误");
|
|
}
|
|
}
|