|
变量说明: {$NAME} : 玩家账号或角色名 ; {$MOUNT} : 游戏币数量
- INSERT INTO mu_game_1.t_tempmoney ( `cc`, `uid`, `addmoney`, `itemid`, `chargetime` ) VALUES ( CONCAT( LEFT ( upper( md5( CONCAT( 'jOU81>.fjoeanl3fw16d21f.*', LEFT (upper(md5(now())), 8), 'YY', ( SELECT userid FROM mu_game_1.t_roles WHERE rname = '{$NAME}' ), '3sl3e5.', '{$MOUNT}' / 10, '=', now()))), 24 ), LEFT (upper(md5(now())), 8)), ( SELECT userid FROM mu_game_1.t_roles WHERE rname = '{$NAME}' ), '{$MOUNT}' / 10, 0, now());INSERT INTO mu_game_1.t_inputlog (`id`, `amount`, `u`, `order_no`, `cporder_no`, `time`, `sign`, `inputtime`, `result`, `zoneid` ) VALUES ('{$id}', '{$MOUNT}'/10, (select userid from mu_game_1.t_roles where rname='{$NAME}'), 'www', 'yjcard', 'com', '', now(), 'success', (select zoneid from mu_game_1.t_roles where rname='{$NAME}'));
复制代码
|
|