|
|
package com.yohoufo.product.controller.test;
|
|
|
|
|
|
import com.yoho.tools.docs.ApiOperation;
|
|
|
import com.yohoufo.common.ApiResponse;
|
|
|
import com.yohoufo.common.annotation.IgnoreSession;
|
|
|
import com.yohoufo.common.annotation.IgnoreSignature;
|
|
|
import com.yohoufo.dal.order.SellerWalletMapper;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
* Created by li.ma on 2018/11/21.
|
|
|
*/
|
|
|
@RestController
|
|
|
public class TestSynDbController {
|
|
|
|
|
|
@Autowired
|
|
|
private SellerWalletMapper sellerWalletMapperl;
|
|
|
|
|
|
@ApiOperation(name = "ufo.product.testSynDb", desc="测试")
|
|
|
@IgnoreSignature
|
|
|
@IgnoreSession
|
|
|
@RequestMapping(params = "method=ufo.product.testSynDb")
|
|
|
public ApiResponse testSynDb() {
|
|
|
sellerWalletMapperl.updateMoneyForTest();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("热搜词列表").build();
|
|
|
}
|
|
|
} |
...
|
...
|
|