|
|
|
@ -103,7 +103,7 @@ class EcloudController < ApplicationController
|
|
|
|
|
begin
|
|
|
|
|
ecloud = Ecloud.where(applyno: params['applyno']).first
|
|
|
|
|
user_param = params['users'].first
|
|
|
|
|
ecloud_user = EcloudUser.where(userid: user_param['userid'], status: 0).first
|
|
|
|
|
ecloud_user = EcloudUser.where(userid: user_param['userid'], status: 1).first
|
|
|
|
|
|
|
|
|
|
ecloud_user.update_attributes(opttype: user_param['opttype'], userid: user_param['userid'], status: 0)
|
|
|
|
|
render :json => {success: true, errmsg: ""}
|
|
|
|
|