Commit fdc1ba60 authored by clone's avatar clone

update

parent 52a93edb
......@@ -58,6 +58,13 @@ class Activity extends Basic
$total = $params["total"];
$available = $params["available"];
$activity_rule = $params["activity_rule"];
if(($return_action == 0 || $return_action == 1) && $return_type != 0){
return $this->response("101", "奖励动作为首次或邀请登陆,奖励类型必须为返现红包");
}
if( $return_type == 1 && $use_period > 0){
return $this->response("101", "奖励类型为现金的奖励有效期必须为永久");
}
//编辑
$id = 0;
if (!empty($params["id"]) && isset($params["id"])) {
......
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