| | |
| | | |
| | | @Excel(name = "提现账户类型") |
| | | private String accsetType; |
| | | |
| | | } |
| | |
| | | return ServerResponse.createByErrorMsg("最小提现金额:" + siteSetting.getWithMinAmt(),request); |
| | | } |
| | | |
| | | boolean b = getServerResponse(); |
| | | boolean b = getServerResponse(accsetType); |
| | | if (!b) { |
| | | return ServerResponse.createByErrorMsg("提现失败,当前时间已停止提现", request); |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | private boolean getServerResponse() { |
| | | StockTimeSetting stockTimeSetting = stockTimeSettingMapper.selectOne(new QueryWrapper<StockTimeSetting>().eq("accets_type", EStockType.getDefault().getCode())); |
| | | private boolean getServerResponse(String accsetType) { |
| | | StockTimeSetting stockTimeSetting = stockTimeSettingMapper.selectOne(new QueryWrapper<StockTimeSetting>().eq("accets_type", accsetType)); |
| | | if (stockTimeSetting == null) { |
| | | return false; |
| | | } |
| | |
| | | |
| | | HK_HTTP_API = http://api-hk.js-stock.top/ |
| | | HK_WS_URL = ws://api-hk-ws.js-stock.top |
| | | HK_KEY = Ra98BDaCU8kqDQbJ9dK1 |
| | | HK_KEY = tdCdEq7PGOSqLf3NMNPv |
| | | |
| | | JS_IN_HTTP_URL = http://api-in-pro.js-stock.top/ |
| | | #JS_IN_WS_URL = ws://api-in-pro-ws.js-stock.top |
| | |
| | | |
| | | TW_HTTP_API = http://api-tw.js-stock.top/ |
| | | TW_WS_URL = ws://api-tw-ws.js-stock.top |
| | | TW_KEY = wgUxwQPf0XatK5Z3u3xU |
| | | TW_KEY = FedHFfQ9BTZKIJmW8vkl |
| | | |
| | | |
| | | #默认首页显示指数code |
| | |
| | | </resultMap> |
| | | <sql id="Base_Column_List" > |
| | | id, user_id, nick_name, agent_id, order_sn, pay_sn, pay_channel, pay_amt, order_status, |
| | | order_desc, add_time, pay_time, pay_id,img |
| | | order_desc, add_time, pay_time, pay_id,img,assets_type |
| | | </sql> |
| | | <insert id="insert" parameterType="com.nq.pojo.UserRecharge" > |
| | | insert into user_recharge (id, user_id, nick_name, |
| | | agent_id, order_sn, pay_sn, |
| | | pay_channel, pay_amt, order_status, |
| | | order_desc, add_time, pay_time,pay_id,img |
| | | order_desc, add_time, pay_time,pay_id,img,assets_type |
| | | ) |
| | | values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR}, |
| | | #{agentId,jdbcType=INTEGER}, #{orderSn,jdbcType=VARCHAR}, #{paySn,jdbcType=VARCHAR}, |
| | | #{payChannel,jdbcType=VARCHAR}, #{payAmt,jdbcType=DECIMAL}, #{orderStatus,jdbcType=INTEGER}, |
| | | #{orderDesc,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, #{payId,jdbcType=INTEGER}, #{img,jdbcType=VARCHAR} |
| | | #{orderDesc,jdbcType=VARCHAR}, #{addTime,jdbcType=TIMESTAMP}, #{payTime,jdbcType=TIMESTAMP}, #{payId,jdbcType=INTEGER}, #{img,jdbcType=VARCHAR},#{assetsType,jdbcType=VARCHAR} |
| | | ) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.nq.pojo.UserRecharge" > |
| | |
| | | <result column="with_status" property="withStatus"/> |
| | | <result column="with_fee" property="withFee"/> |
| | | <result column="with_msg" property="withMsg"/> |
| | | <result column="accset_type" property="accsetType"/> |
| | | </resultMap> |
| | | <sql id="Base_Column_List" > |
| | | id, user_id, nick_name, agent_id, with_amt, apply_time, trans_time, with_name, bank_no, |
| | | bank_name, bank_address, with_status, with_fee, with_msg |
| | | bank_name, bank_address, with_status, with_fee, with_msg, accset_type |
| | | </sql> |
| | | <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" > |
| | | select |
| | |
| | | agent_id, with_amt, apply_time, |
| | | trans_time, with_name, bank_no, |
| | | bank_name, bank_address, with_status, |
| | | with_fee, with_msg) |
| | | with_fee, with_msg, accset_type) |
| | | values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{nickName,jdbcType=VARCHAR}, |
| | | #{agentId,jdbcType=INTEGER}, #{withAmt,jdbcType=DECIMAL}, #{applyTime,jdbcType=TIMESTAMP}, |
| | | #{transTime,jdbcType=TIMESTAMP}, #{withName,jdbcType=VARCHAR}, #{bankNo,jdbcType=VARCHAR}, |
| | | #{bankName,jdbcType=VARCHAR}, #{bankAddress,jdbcType=VARCHAR}, #{withStatus,jdbcType=INTEGER}, |
| | | #{withFee,jdbcType=DECIMAL}, #{withMsg,jdbcType=VARCHAR}) |
| | | #{withFee,jdbcType=DECIMAL}, #{withMsg,jdbcType=VARCHAR}, #{accsetType,jdbcType=VARCHAR}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.nq.pojo.UserWithdraw" > |
| | | insert into user_withdraw |