<?php
/*
 * description：
 * author：wh
 * email：
 * createTime：{2024/6/18} {17:39} 
 */

namespace app\api\controller;


use app\api\logic\EnemyLogic;
use app\common\model\TabConf;
use think\Db;
use wanghua\general_utility_tools_php\Mmodel;
use wanghua\general_utility_tools_php\tool\Tools;

/**
 * 敌人
 * Class Enemy
 * @package app\api\controller
 */
class Enemy extends BaseHttpApi
{

    /**
     * desc：累加击杀敌人数量
     *
     * api/enemy/addKillEnemyNum
     *
     * 参数：enemy_num
     *
     * author：wh
     */
    function addKillEnemyNum(){
        return Mmodel::catchJson(function (){

            return (new EnemyLogic())->addKillEnemyNum();
        });
    }
}