master
FPGA 2025-09-29 16:48:15 +08:00
parent 0396990aa8
commit 83db3aea38
13 changed files with 15 additions and 3 deletions

View File

@ -87,7 +87,7 @@ local function __getCode(cmd, _data, callBack)
end
function __getCode_test(cmd, _data, callBack)
printlog("__getCode_test")
local _client = ControllerManager.WebClient
_client:send(Protocol.WEB_GET_CODE, { id = _data.id }, function(res)
if (res.ReturnCode == 0) then

View File

@ -1357,6 +1357,7 @@ end
-- 改变体力值
function M:FG_ChangeFag(group_id, member_id, fag, callback)
local _client = ControllerManager.GroupClient
local _data = {}
_data.id = group_id

View File

@ -15,7 +15,7 @@ BaseWindow = {
_close_destroy = false,
--点击窗口以外关闭
_close_zone = true,
_close_zone = false,
--队列
_queue = true,

View File

@ -270,6 +270,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv =
GroupNumberInputView.new(
nil,
@ -288,6 +289,7 @@ local function __change_fag(gid, pid, is_add, cur_hp, callback)
-- end
if (res1.ReturnCode == 0) then
callback(res1.Data)
ViewUtil.ErrorTip(res1.ReturnCode, '更新成功!')
else
ViewUtil.ErrorTip(res1.ReturnCode, '更改积分失败!')
end

View File

@ -134,6 +134,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv =
GroupNumberInputView.new(
nil,

View File

@ -217,6 +217,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv =
GroupNumberInputView.new(
nil,

View File

@ -253,6 +253,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv =
GroupNumberInputView.new(
nil,

View File

@ -292,6 +292,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv =
GroupNumberInputView.new(
nil,

View File

@ -199,6 +199,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv = GroupNumberInputView.new(nil, function(num)
num = ad2d((is_add and num or -num))
ViewUtil.ShowModalWait()

View File

@ -210,6 +210,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv = GroupNumberInputView.new(nil, function(num)
num = ad2d((is_add and num or -num))
ViewUtil.ShowModalWait()

View File

@ -123,6 +123,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv = GroupNumberInputView.new(nil, function(num)
num = ad2d((is_add and num or -num))
ViewUtil.ShowModalWait()

View File

@ -304,6 +304,7 @@ end
-- 修改体力值
local function __change_fag(gid, pid, is_add, cur_hp, callback)
local gniv =
GroupNumberInputView.new(
nil,
@ -322,6 +323,7 @@ local function __change_fag(gid, pid, is_add, cur_hp, callback)
-- end
if (res1.ReturnCode == 0) then
callback(res1.Data)
else
ViewUtil.ErrorTip(res1.ReturnCode, '更改积分失败!')
end

View File

@ -91,7 +91,7 @@ public class VerCheck : MonoBehaviour
//公用
string init_url = "http://8.138.120.167:19898/NewFK/config/init2_1.json";
string init_url = "http://8.148.219.235:19898/NewFK/config/init2_1.json";