...
|
...
|
@@ -11,7 +11,7 @@ type SystemSettingController struct { |
|
|
baseController
|
|
|
}
|
|
|
|
|
|
func (controller SystemSettingController) SystemSettingSearch() {
|
|
|
func (controller *SystemSettingController) SystemSettingSearch() {
|
|
|
systemSettingService := service.NewSystemSettingService(nil)
|
|
|
settingListQuery := &query.SettingListQuery{}
|
|
|
err := controller.Unmarshal(settingListQuery)
|
...
|
...
|
@@ -23,7 +23,7 @@ func (controller SystemSettingController) SystemSettingSearch() { |
|
|
controller.Response(data, err)
|
|
|
}
|
|
|
|
|
|
func (controller SystemSettingController) SystemSettingGet() {
|
|
|
func (controller *SystemSettingController) SystemSettingGet() {
|
|
|
systemSettingService := service.NewSystemSettingService(nil)
|
|
|
q := &query.SettingGetQuery{}
|
|
|
err := controller.Unmarshal(q)
|
...
|
...
|
@@ -36,7 +36,7 @@ func (controller SystemSettingController) SystemSettingGet() { |
|
|
|
|
|
}
|
|
|
|
|
|
func (controller SystemSettingController) SystemSettingUpdate() {
|
|
|
func (controller *SystemSettingController) SystemSettingUpdate() {
|
|
|
systemSettingService := service.NewSystemSettingService(nil)
|
|
|
q := &command.SettingUpdateCommand{}
|
|
|
err := controller.Unmarshal(q)
|
...
|
...
|
|